Lines Matching full:volume
43 shell_error(ctx_shell, "Volume change failed (%d)", err); in cap_volume_changed_cb()
47 shell_print(ctx_shell, "Volume change completed"); in cap_volume_changed_cb()
53 shell_error(ctx_shell, "Volume mute change failed (%d)", err); in cap_volume_mute_changed_cb()
57 shell_print(ctx_shell, "Volume mute change completed"); in cap_volume_mute_changed_cb()
63 shell_error(ctx_shell, "Volume offset change failed (%d)", err); in cap_volume_offset_changed_cb()
67 shell_print(ctx_shell, "Volume offset change completed"); in cap_volume_offset_changed_cb()
214 unsigned long volume; in cmd_cap_commander_change_volume() local
222 volume = shell_strtoul(argv[1], 10, &err); in cmd_cap_commander_change_volume()
224 shell_error(sh, "Failed to parse volume from %s", argv[1]); in cmd_cap_commander_change_volume()
229 if (volume > UINT8_MAX) { in cmd_cap_commander_change_volume()
230 shell_error(sh, "Invalid volume %lu", volume); in cmd_cap_commander_change_volume()
234 param.volume = (uint8_t)volume; in cmd_cap_commander_change_volume()
255 shell_print(sh, "Setting volume to %u on %zu connections", param.volume, param.count); in cmd_cap_commander_change_volume()
259 shell_print(sh, "Failed to change volume: %d", err); in cmd_cap_commander_change_volume()
284 shell_error(sh, "Failed to parse volume mute from %s", argv[1]); in cmd_cap_commander_change_volume_mute()
305 shell_print(sh, "Setting volume mute to %d on %zu connections", param.mute, param.count); in cmd_cap_commander_change_volume_mute()
309 shell_print(sh, "Failed to change volume mute: %d", err); in cmd_cap_commander_change_volume_mute()
361 shell_error(sh, "Failed to parse volume offset from %s", arg); in cmd_cap_commander_change_volume_offset()
377 shell_print(sh, "Setting volume offset on %zu connections", param.count); in cmd_cap_commander_change_volume_offset()
381 shell_print(sh, "Failed to change volume offset: %d", err); in cmd_cap_commander_change_volume_offset()
490 shell_error(sh, "Failed to parse volume offset from %s", arg); in cmd_cap_commander_change_microphone_gain()
863 SHELL_CMD_ARG(change_volume, NULL, "Change volume on all connections <volume>",
866 "Change volume mute state on all connections <mute>",
870 "Change volume offset per connection <volume_offset [volume_offset [...]]>",