Home
last modified time | relevance | path

Searched refs:mixer_ctl_name (Results 1 – 7 of 7) 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.c1748 const char *mixer_ctl_name = "Voice Rx Gain"; local
1760 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
1763 __func__, mixer_ctl_name);
1794 const char *mixer_ctl_name = "Voice Tx Mute"; local
1801 mixer_ctl_name = "HFP TX Mute";
1804 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
1807 __func__, mixer_ctl_name);
1824 char *mixer_ctl_name = NULL; local
1835 mixer_ctl_name = "Voice Rx Device Mute";
1837 mixer_ctl_name = "Voice Tx Device Mute";
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1615 const char *mixer_ctl_name = "App Type Config"; in platform_backend_app_type_cfg_init() local
1616 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in platform_backend_app_type_cfg_init()
1618 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name); in platform_backend_app_type_cfg_init()
2589 const char *mixer_ctl_name = "Voice Mic Break Enable"; in platform_set_mic_break_det() local
2590 struct mixer_ctl *ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_mic_break_det()
2593 __func__, mixer_ctl_name); in platform_set_mic_break_det()
2599 ALOGE("%s: Failed to set mixer ctl: %s", __func__, mixer_ctl_name); in platform_set_mic_break_det()
2660 const char *mixer_ctl_name = "Voice Rx Gain"; in platform_set_voice_volume() local
2673 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_voice_volume()
2676 __func__, mixer_ctl_name); in platform_set_voice_volume()
[all …]
/hardware/qcom/audio/hal/msm8960/
Dplatform.c258 const char *mixer_ctl_name = "EC_REF_RX"; in set_echo_reference() local
260 ctl = mixer_get_ctl_by_name(mixer, mixer_ctl_name); in set_echo_reference()
263 __func__, mixer_ctl_name); in set_echo_reference()
923 const char *mixer_ctl_name = "HDMI_RX Channels"; in platform_set_hdmi_channels() local
940 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_hdmi_channels()
943 __func__, mixer_ctl_name); in platform_set_hdmi_channels()
1149 const char *mixer_ctl_name = "Swap channel"; in platform_set_swap_mixer() local
1168 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in platform_set_swap_mixer()
1170 ALOGE("%s: Could not get ctl for mixer cmd - %s",__func__, mixer_ctl_name); in platform_set_swap_mixer()
/hardware/qcom/audio/hal/
Daudio_hw.c619 const char *mixer_ctl_name = "Audio SSR Status"; in audio_ssr_status() local
621 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in audio_ssr_status()
886 char mixer_ctl_name[] = "Audio Effect"; in send_effect_enable_disable_mixer_ctl() local
889 struct mixer_ctl *ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in send_effect_enable_disable_mixer_ctl()
892 __func__, mixer_ctl_name); in send_effect_enable_disable_mixer_ctl()
3307 char mixer_ctl_name[128]; in set_compr_volume() local
3313 snprintf(mixer_ctl_name, sizeof(mixer_ctl_name), in set_compr_volume()
3315 ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name); in set_compr_volume()
3318 __func__, mixer_ctl_name); in set_compr_volume()
3322 __func__, mixer_ctl_name, left, right); in set_compr_volume()
[all …]