Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/
Dplatform_api.h35 snd_device_t out_snd_device,
38 snd_device_t out_snd_device,
41 snd_device_t out_snd_device,
Dvoice.c79 snd_device_t out_snd_device, bool enable) in voice_set_sidetone() argument
86 out_snd_device); in voice_set_sidetone()
88 is_sidetone_dev = voice_is_sidetone_device(out_snd_device, mixer_path); in voice_set_sidetone()
92 __func__, out_snd_device); in voice_set_sidetone()
128 voice_set_sidetone(adev, uc_info->out_snd_device, false); in voice_stop_usecase()
146 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()
216 voice_set_sidetone(adev, uc_info->out_snd_device, true); in voice_start_usecase()
Daudio_hw.c273 snd_device = usecase->out_snd_device; in enable_audio_route()
297 snd_device = usecase->out_snd_device; in disable_audio_route()
441 usecase->out_snd_device != snd_device && in check_and_route_playback_usecases()
443 platform_check_backends_match(snd_device, usecase->out_snd_device)) { in check_and_route_playback_usecases()
446 platform_get_snd_device_name(usecase->out_snd_device)); in check_and_route_playback_usecases()
457 disable_snd_device(adev, usecase->out_snd_device); in check_and_route_playback_usecases()
474 usecase->out_snd_device = snd_device; in check_and_route_playback_usecases()
608 snd_device_t out_snd_device = SND_DEVICE_NONE; in select_devices() local
625 out_snd_device = platform_get_output_snd_device(adev->platform, in select_devices()
644 out_snd_device = vc_usecase->out_snd_device; in select_devices()
[all …]
Dvoice.h95 snd_device_t out_snd_device,
Daudio_hw.h226 snd_device_t out_snd_device; member
/hardware/qcom/audio/msm8909/hal/
Dplatform_api.h48 snd_device_t out_snd_device,
51 snd_device_t out_snd_device,
54 snd_device_t out_snd_device,
Daudio_hw.c383 snd_device = usecase->out_snd_device; in enable_audio_route()
415 snd_device = usecase->out_snd_device; in disable_audio_route()
589 (usecase->out_snd_device != snd_device || force_routing) && in check_usecases_codec_backend()
593 platform_get_snd_device_name(usecase->out_snd_device)); in check_usecases_codec_backend()
608 disable_snd_device(adev, usecase->out_snd_device); in check_usecases_codec_backend()
625 usecase->out_snd_device = snd_device; in check_usecases_codec_backend()
762 snd_device_t out_snd_device = SND_DEVICE_NONE; in select_devices() local
781 out_snd_device = platform_get_output_snd_device(adev->platform, in select_devices()
799 out_snd_device = vc_usecase->out_snd_device; in select_devices()
807 out_snd_device = voip_usecase->out_snd_device; in select_devices()
[all …]
Daudio_hw.h237 snd_device_t out_snd_device; member
Dvoice.c100 disable_snd_device(adev, uc_info->out_snd_device); in voice_stop_usecase()
138 uc_info->out_snd_device = SND_DEVICE_NONE; in voice_start_usecase()
/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()
Dhfp.c131 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp()
244 disable_snd_device(adev, uc_info->out_snd_device); in stop_hfp()
Dspkr_protection.c340 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER_PROTECTED; in spkr_calibrate()
372 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
829 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()
/hardware/qcom/audio/msm8909/hal/voice_extn/
Dvoice_extn.h137 snd_device_t *out_snd_device,
216 snd_device_t *out_snd_device __unused, in voice_extn_compress_voip_select_devices()
Dcompress_voip.c312 disable_snd_device(adev, uc_info->out_snd_device); in voip_stop_call()
351 uc_info->out_snd_device = SND_DEVICE_NONE; in voip_start_call()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dfm.c133 disable_snd_device(adev, uc_info->out_snd_device); in fm_stop()
161 uc_info->out_snd_device = SND_DEVICE_NONE; in fm_start()
Dhfp.c148 uc_info->out_snd_device = SND_DEVICE_NONE; in start_hfp()
280 disable_snd_device(adev, uc_info->out_snd_device); in stop_hfp()
Dutils.c490 int pcm_device_id, acdb_dev_id, snd_device = usecase->out_snd_device; in audio_extn_utils_send_app_type_cfg()
511 snd_device = usecase->out_snd_device; in audio_extn_utils_send_app_type_cfg()
581 int snd_device = usecase->out_snd_device; in audio_extn_utils_send_audio_calibration()
Dspkr_protection.c349 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER_PROTECTED; in spkr_calibrate()
381 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
836 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c637 ALOGV("%s: out device is %d", __func__, usecase->out_snd_device); in platform_send_gain_dep_cal()
639 acdb_dev_id = audio_extn_spkr_prot_get_acdb_id(usecase->out_snd_device); in platform_send_gain_dep_cal()
641 acdb_dev_id = acdb_device_table[usecase->out_snd_device]; in platform_send_gain_dep_cal()
1523 snd_device_t out_snd_device, in platform_switch_voice_call_enable_device_config() argument
1533 if (out_snd_device == SND_DEVICE_OUT_VOICE_SPEAKER && in platform_switch_voice_call_enable_device_config()
1537 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_enable_device_config()
1556 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
1565 if (out_snd_device == SND_DEVICE_OUT_VOICE_SPEAKER && in platform_switch_voice_call_device_post()
1567 out_snd_device = SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED; in platform_switch_voice_call_device_post()
1569 acdb_rx_id = platform_get_snd_device_acdb_id(out_snd_device); in platform_switch_voice_call_device_post()
[all …]
/hardware/qcom/audio/hal/msm8960/
Dplatform.c483 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
495 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post()
999 snd_device_t out_snd_device __unused, in platform_switch_voice_call_enable_device_config()
1006 snd_device_t out_snd_device __unused, in platform_switch_voice_call_usecase_route_post()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c438 snd_device_t out_snd_device __unused, in platform_switch_voice_call_enable_device_config()
446 snd_device_t out_snd_device __unused, in platform_switch_voice_call_usecase_route_post()
533 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
545 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1494 snd_device_t out_snd_device, in platform_switch_voice_call_enable_device_config() argument
1504 if (out_snd_device == SND_DEVICE_OUT_VOICE_SPEAKER && in platform_switch_voice_call_enable_device_config()
1508 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_enable_device_config()
1527 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
1536 if (out_snd_device == SND_DEVICE_OUT_VOICE_SPEAKER && in platform_switch_voice_call_device_post()
1538 out_snd_device = SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED; in platform_switch_voice_call_device_post()
1540 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post()
1554 snd_device_t out_snd_device, in platform_switch_voice_call_usecase_route_post() argument
1564 if (out_snd_device == SND_DEVICE_OUT_VOICE_SPEAKER && in platform_switch_voice_call_usecase_route_post()
1568 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_usecase_route_post()
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c1586 snd_device = usecase->out_snd_device; in platform_send_audio_calibration()
1631 snd_device_t out_snd_device, in platform_switch_voice_call_enable_device_config() argument
1638 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_enable_device_config()
1658 snd_device_t out_snd_device, in platform_switch_voice_call_device_post() argument
1667 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_device_post()
1681 snd_device_t out_snd_device, in platform_switch_voice_call_usecase_route_post() argument
1688 acdb_rx_id = acdb_device_table[out_snd_device]; in platform_switch_voice_call_usecase_route_post()