Home
last modified time | relevance | path

Searched refs:out_snd_device (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/audio/hal/
Dvoice.c87 snd_device_t out_snd_device, bool enable) in voice_set_sidetone() argument
94 out_snd_device); in voice_set_sidetone()
96 if (voice_is_sidetone_device(out_snd_device, mixer_path)) in voice_set_sidetone()
97 platform_set_sidetone(adev, out_snd_device, enable, mixer_path); in voice_set_sidetone()
123 voice_set_sidetone(adev, uc_info->out_snd_device, false); in voice_stop_usecase()
141 disable_snd_device(adev, uc_info->out_snd_device); in voice_stop_usecase()
173 uc_info->out_snd_device = SND_DEVICE_NONE; in voice_start_usecase()
227 voice_set_sidetone(adev, uc_info->out_snd_device, true); in voice_start_usecase()
Dplatform_api.h86 snd_device_t out_snd_device,
89 snd_device_t out_snd_device,
92 snd_device_t out_snd_device,
186 snd_device_t out_snd_device,
Dvoice.h95 snd_device_t out_snd_device,
Daudio_hw.h345 snd_device_t out_snd_device; member
/hardware/qcom/audio/hal/audio_extn/
Dext_speaker.c129 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update()
134 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update()
Dutils.c123 int pcm_device_id, acdb_dev_id = 0, snd_device = usecase->out_snd_device; in audio_extn_utils_send_app_type_cfg_hfp()
141 snd_device = usecase->out_snd_device; in audio_extn_utils_send_app_type_cfg_hfp()
281 usecase->out_snd_device, in derive_playback_app_type_cfg()
338 return platform_get_snd_device_acdb_id(usecase->out_snd_device); in derive_acdb_dev_id()
389 if (platform_can_split_snd_device(usecase->out_snd_device, in audio_extn_utils_send_app_type_cfg()
391 new_snd_device[0] = usecase->out_snd_device; in audio_extn_utils_send_app_type_cfg()
Dtfa_98xx.c194 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
202 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
208 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
215 if (data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
Dspkr_protection.c341 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER_PROTECTED; in spkr_calibrate()
373 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
481 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
831 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()
865 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()
Dhfp.c265 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp()
394 disable_snd_device(adev, uc_info->out_snd_device); in stop_hfp()
Dcirrus_playback.c487 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER; in audio_extn_cirrus_calibration_thread()
826 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()
Dsoundtrigger.c418 platform_snd_device_has_speaker(uc_info->out_snd_device)) || in audio_extn_sound_trigger_update_stream_status()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c534 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
546 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post()
1129 snd_device_t out_snd_device __unused, in platform_switch_voice_call_enable_device_config()
1136 snd_device_t out_snd_device __unused, in platform_switch_voice_call_usecase_route_post()
1419 snd_device_t out_snd_device, in platform_set_sidetone() argument
1423 if (out_snd_device == SND_DEVICE_OUT_USB_HEADSET || in platform_set_sidetone()
1424 out_snd_device == SND_DEVICE_OUT_VOICE_USB_HEADSET) { in platform_set_sidetone()
1425 ret = audio_extn_usb_enable_sidetone(out_snd_device, enable); in platform_set_sidetone()
1428 __func__, out_snd_device); in platform_set_sidetone()
1431 __func__, out_snd_device, str); in platform_set_sidetone()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1103 ALOGV("%s: out device is %d", __func__, usecase->out_snd_device); in platform_send_gain_dep_cal()
1109 acdb_dev_id = platform_get_snd_device_acdb_id(usecase->out_snd_device); in platform_send_gain_dep_cal()
2433 int snd_device = usecase->out_snd_device; in platform_send_audio_calibration_v2()
2501 snd_device_t out_snd_device, in platform_switch_voice_call_enable_device_config() argument
2511 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_enable_device_config()
2529 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
2538 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_device_post()
2552 snd_device_t out_snd_device, in platform_switch_voice_call_usecase_route_post() argument
2562 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_usecase_route_post()
4392 snd_device_t out_snd_device = SND_DEVICE_NONE; in platform_get_voice_call_backend() local
[all …]
/hardware/qcom/audio/hal/msm8916/
Dplatform.c1703 snd_device_t out_snd_device __unused,
1710 snd_device_t out_snd_device,
1719 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device);
1733 snd_device_t out_snd_device __unused,
2907 snd_device_t out_snd_device,
2911 if (out_snd_device == SND_DEVICE_OUT_USB_HEADSET ||
2912 out_snd_device == SND_DEVICE_OUT_VOICE_USB_HEADSET) {
2913 ret = audio_extn_usb_enable_sidetone(out_snd_device, enable);
2916 __func__, out_snd_device);
2919 __func__, out_snd_device, str);