Home
last modified time | relevance | path

Searched refs:mixer_ctl_name (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dhfp.c142 char mixer_ctl_name[128]; in hfp_set_mic_volume() local
160 memset(mixer_ctl_name, 0, sizeof(mixer_ctl_name)); in hfp_set_mic_volume()
161 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), in hfp_set_mic_volume()
163 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in hfp_set_mic_volume()
166 __func__, mixer_ctl_name); in hfp_set_mic_volume()
171 ALOGD("%s: Setting volume to %d (%s)\n", __func__, volume, mixer_ctl_name); in hfp_set_mic_volume()
183 char mixer_ctl_name[128]; in hfp_get_mic_volume() local
193 memset(mixer_ctl_name, 0, sizeof(mixer_ctl_name)); in hfp_get_mic_volume()
194 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), in hfp_get_mic_volume()
196 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in hfp_get_mic_volume()
[all …]
Dutils.c45 char mixer_ctl_name[MAX_LENGTH_MIXER_CONTROL_IN_INT]; in set_stream_app_type_mixer_ctrl() local
51 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), in set_stream_app_type_mixer_ctrl()
54 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), in set_stream_app_type_mixer_ctrl()
58 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in set_stream_app_type_mixer_ctrl()
61 __func__, mixer_ctl_name); in set_stream_app_type_mixer_ctrl()
87 const char *mixer_ctl_name = "App Type Config"; in audio_extn_utils_send_default_app_type_cfg() local
89 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in audio_extn_utils_send_default_app_type_cfg()
91 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name); in audio_extn_utils_send_default_app_type_cfg()
355 char mixer_ctl_name[MAX_LENGTH_MIXER_CONTROL_IN_INT] = {0}; in audio_extn_utils_send_app_type_cfg() local
423 const char *mixer_ctl_name = "App Type Gain"; in audio_extn_utils_send_app_type_gain() local
[all …]
Dspkr_protection.c276 const char *mixer_ctl_name = VI_FEED_CHANNEL; in vi_feed_get_channels() local
280 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in vi_feed_get_channels()
283 __func__, mixer_ctl_name); in vi_feed_get_channels()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c1771 const char *mixer_ctl_name = "Voice Rx Gain"; local
1783 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
1786 __func__, mixer_ctl_name);
1817 const char *mixer_ctl_name = "Voice Tx Mute"; local
1824 mixer_ctl_name = "HFP TX Mute";
1827 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
1830 __func__, mixer_ctl_name);
1847 char *mixer_ctl_name = NULL; local
1858 mixer_ctl_name = "Voice Rx Device Mute";
1860 mixer_ctl_name = "Voice Tx Device Mute";
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1633 const char *mixer_ctl_name = "App Type Config"; in platform_backend_app_type_cfg_init() local
1634 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in platform_backend_app_type_cfg_init()
1636 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name); in platform_backend_app_type_cfg_init()
2612 const char *mixer_ctl_name = "Voice Mic Break Enable"; in platform_set_mic_break_det() local
2613 struct mixer_ctl *ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_mic_break_det()
2616 __func__, mixer_ctl_name); in platform_set_mic_break_det()
2622 ALOGE("%s: Failed to set mixer ctl: %s", __func__, mixer_ctl_name); in platform_set_mic_break_det()
2683 const char *mixer_ctl_name = "Voice Rx Gain"; in platform_set_voice_volume() local
2696 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_voice_volume()
2699 __func__, mixer_ctl_name); in platform_set_voice_volume()
[all …]
/hardware/qcom/audio/hal/msm8960/
Dplatform.c276 const char *mixer_ctl_name = "EC_REF_RX"; in set_echo_reference() local
278 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in set_echo_reference()
281 __func__, mixer_ctl_name); in set_echo_reference()
941 const char *mixer_ctl_name = "HDMI_RX Channels"; in platform_set_hdmi_channels() local
958 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_hdmi_channels()
961 __func__, mixer_ctl_name); in platform_set_hdmi_channels()
1240 const char *mixer_ctl_name = "Swap channel"; in platform_set_swap_mixer() local
1259 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_swap_mixer()
1261 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name); in platform_set_swap_mixer()