Lines Matching +full:mute +full:- +full:control
5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
66 shell_error(ctx_shell, "VCP mute failed (%d)", err); in vcs_mute_cb()
68 shell_print(ctx_shell, "VCP mute done"); in vcs_mute_cb()
109 uint8_t volume, uint8_t mute) in vcs_state_cb() argument
114 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcs_state_cb()
152 shell_error(ctx_shell, "Mute failed (%d) for inst %p", in vcs_aics_mute_cb()
183 uint8_t mute, uint8_t mode) in vcs_aics_state_cb() argument
190 "AICS inst %p state gain %d, mute %u, mode %u", in vcs_aics_state_cb()
191 inst, gain, mute, mode); in vcs_aics_state_cb()
301 .mute = vcs_mute_cb,
310 /* Audio Input Control Service */
320 .mute = vcs_aics_mute_cb,
357 return -ENOEXEC; in cmd_vcp_vol_ctlr_discover()
375 return -ENOEXEC; in cmd_vcp_vol_ctlr_state_get()
393 return -ENOEXEC; in cmd_vcp_vol_ctlr_flags_get()
411 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_down()
430 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_up()
448 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute_volume_down()
466 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute_volume_up()
486 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
493 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
497 shell_error(sh, "Volume shall be 0-255, was %lu", volume); in cmd_vcp_vol_ctlr_volume_set()
499 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
518 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute()
536 return -ENOEXEC; in cmd_vcp_vol_ctlr_mute()
555 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
562 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
569 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
588 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
595 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
602 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
622 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
629 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
636 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
643 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
648 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
669 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
676 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
683 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
690 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
694 shell_error(sh, "Offset shall be %d-%d, was %ld", in cmd_vcp_vol_ctlr_vocs_offset_set()
696 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
716 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
723 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
730 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
749 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
756 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
763 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
782 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
789 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
796 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
815 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
822 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
829 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
848 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
855 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
862 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
881 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
888 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
895 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
914 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
921 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
928 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
947 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
954 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
961 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
980 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
987 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
994 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
1013 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1020 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1027 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1047 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1053 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1059 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1065 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1069 shell_error(sh, "Gain shall be %d-%d, was %ld", in cmd_vcp_vol_ctlr_aics_gain_set()
1071 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1090 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1097 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1104 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1123 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1130 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1137 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1157 return -ENOEXEC; in cmd_vcp_vol_ctlr()
1167 "before sending any control messages",
1190 SHELL_CMD_ARG(mute, NULL,
1191 "Mute",
1231 "Mute the input of a AICS instance <inst_index>",