Searched refs:out_device (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 746 audio_devices_t out_device) in platform_get_input_snd_device() argument 763 __func__, out_device, in_device); in platform_get_input_snd_device() 764 if ((out_device != AUDIO_DEVICE_NONE) && voice_is_in_call(adev)) { in platform_get_input_snd_device() 766 if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE || in platform_get_input_snd_device() 767 out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET) { in platform_get_input_snd_device() 784 if (out_device & AUDIO_DEVICE_OUT_EARPIECE || in platform_get_input_snd_device() 785 out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE) { in platform_get_input_snd_device() 799 } else if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET) { in platform_get_input_snd_device() 801 } else if (out_device & AUDIO_DEVICE_OUT_ALL_SCO) { in platform_get_input_snd_device() 807 } else if (out_device & AUDIO_DEVICE_OUT_SPEAKER) { in platform_get_input_snd_device() [all …]
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 695 audio_devices_t out_device) in platform_set_echo_reference() argument 707 if (out_device != AUDIO_DEVICE_NONE) { in platform_set_echo_reference() 708 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference() 2030 audio_devices_t out_device, 2063 platform_set_echo_reference(adev, true, out_device); 2071 audio_devices_t out_device, 2102 platform_set_echo_reference(adev, true, out_device); 2127 platform_set_echo_reference(adev, true, out_device); 2152 platform_set_echo_reference(adev, false, out_device); 2154 platform_set_echo_reference(adev, false, out_device); [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 1111 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device) in platform_set_echo_reference() argument 1123 if (out_device != AUDIO_DEVICE_NONE) { in platform_set_echo_reference() 1124 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference() 3087 audio_devices_t out_device __unused, in get_snd_device_for_voice_comm() 3130 audio_devices_t out_device __unused, in get_snd_device_for_voice_comm() 3204 audio_devices_t out_device) in platform_get_input_snd_device() argument 3222 __func__, out_device, in_device, channel_count, channel_mask); in platform_get_input_snd_device() 3224 if ((out_device != AUDIO_DEVICE_NONE) && (voice_is_in_call(adev) || in platform_get_input_snd_device() 3227 if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE || in platform_get_input_snd_device() 3228 out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET || in platform_get_input_snd_device() [all …]
|
/hardware/qcom/audio/hal/ |
D | platform_api.h | 107 audio_devices_t out_device); 153 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device…
|
D | voice.c | 56 static bool voice_is_sidetone_device(snd_device_t out_device, in voice_is_sidetone_device() argument 61 switch (out_device) { in voice_is_sidetone_device() 78 ALOGW("%s: %d is not a sidetone device", __func__, out_device); in voice_is_sidetone_device()
|
D | audio_hw.c | 668 audio_devices_t out_device = AUDIO_DEVICE_OUT_SPEAKER; in enable_audio_route() local 673 out_device = voip_usecase->stream.out->devices; in enable_audio_route() 676 out_device = adev->primary_output->devices; in enable_audio_route() 681 out_device = uinfo->stream.out->devices; in enable_audio_route() 686 platform_set_echo_reference(adev, true, out_device); in enable_audio_route() 1671 audio_devices_t out_device = AUDIO_DEVICE_NONE; in select_devices_with_force_switch() local 1682 out_device = AUDIO_DEVICE_OUT_TELEPHONY_TX; in select_devices_with_force_switch() 1684 out_device = voip_usecase->stream.out->devices; in select_devices_with_force_switch() 1687 out_device = adev->primary_output->devices; in select_devices_with_force_switch() 1691 out_device = AUDIO_DEVICE_OUT_SPEAKER; in select_devices_with_force_switch() [all …]
|