/hardware/qcom/audio/hal/ |
D | platform_api.h | 86 snd_device_t out_snd_device, 89 snd_device_t out_snd_device, 92 snd_device_t out_snd_device, 185 snd_device_t out_snd_device,
|
D | voice.c | 87 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()
|
D | audio_hw.c | 632 static bool is_btsco_device(snd_device_t out_snd_device, snd_device_t in_snd_device) in is_btsco_device() argument 634 return out_snd_device == SND_DEVICE_OUT_BT_SCO || in is_btsco_device() 635 out_snd_device == SND_DEVICE_OUT_BT_SCO_WB || in is_btsco_device() 643 static bool is_a2dp_device(snd_device_t out_snd_device) in is_a2dp_device() argument 645 return out_snd_device == SND_DEVICE_OUT_BT_A2DP; in is_a2dp_device() 691 snd_device = usecase->out_snd_device; in enable_audio_route() 722 snd_device = usecase->out_snd_device; in disable_audio_route() 1088 snd_device_t d1 = uc->out_snd_device; in derive_playback_snd_device() 1173 (usecase->out_snd_device != snd_device && in check_and_route_playback_usecases() 1176 platform_check_backends_match(snd_device, usecase->out_snd_device))) { in check_and_route_playback_usecases() [all …]
|
D | voice.h | 95 snd_device_t out_snd_device,
|
D | audio_hw.h | 343 snd_device_t out_snd_device; member
|
/hardware/qcom/audio/hal/audio_extn/ |
D | ext_speaker.c | 129 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()
|
D | utils.c | 123 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()
|
D | tfa_98xx.c | 194 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()
|
D | spkr_protection.c | 341 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()
|
D | hfp.c | 265 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp() 394 disable_snd_device(adev, uc_info->out_snd_device); in stop_hfp()
|
D | cirrus_playback.c | 487 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()
|
D | soundtrigger.c | 418 platform_snd_device_has_speaker(uc_info->out_snd_device)) || in audio_extn_sound_trigger_update_stream_status()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 516 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument 528 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post() 1043 snd_device_t out_snd_device __unused, in platform_switch_voice_call_enable_device_config() 1050 snd_device_t out_snd_device __unused, in platform_switch_voice_call_usecase_route_post() 1328 snd_device_t out_snd_device, in platform_set_sidetone() argument 1332 if (out_snd_device == SND_DEVICE_OUT_USB_HEADSET || in platform_set_sidetone() 1333 out_snd_device == SND_DEVICE_OUT_VOICE_USB_HEADSET) { in platform_set_sidetone() 1334 ret = audio_extn_usb_enable_sidetone(out_snd_device, enable); in platform_set_sidetone() 1337 __func__, out_snd_device); in platform_set_sidetone() 1340 __func__, out_snd_device, str); in platform_set_sidetone()
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 1085 ALOGV("%s: out device is %d", __func__, usecase->out_snd_device); in platform_send_gain_dep_cal() 1091 acdb_dev_id = platform_get_snd_device_acdb_id(usecase->out_snd_device); in platform_send_gain_dep_cal() 2410 int snd_device = usecase->out_snd_device; in platform_send_audio_calibration_v2() 2478 snd_device_t out_snd_device, in platform_switch_voice_call_enable_device_config() argument 2488 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_enable_device_config() 2506 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument 2515 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_device_post() 2529 snd_device_t out_snd_device, in platform_switch_voice_call_usecase_route_post() argument 2539 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_usecase_route_post() 4296 snd_device_t out_snd_device = SND_DEVICE_NONE; in platform_get_voice_call_backend() local [all …]
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 1680 snd_device_t out_snd_device __unused, 1687 snd_device_t out_snd_device, 1696 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); 1710 snd_device_t out_snd_device __unused, 2816 snd_device_t out_snd_device, 2820 if (out_snd_device == SND_DEVICE_OUT_USB_HEADSET || 2821 out_snd_device == SND_DEVICE_OUT_VOICE_USB_HEADSET) { 2822 ret = audio_extn_usb_enable_sidetone(out_snd_device, enable); 2825 __func__, out_snd_device); 2828 __func__, out_snd_device, str);
|