Searched refs:out_device (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 728 snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_device) in platform_get_input_snd_device() argument 744 __func__, out_device, in_device); in platform_get_input_snd_device() 745 if ((out_device != AUDIO_DEVICE_NONE) && voice_is_in_call(adev)) { in platform_get_input_snd_device() 747 if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE || in platform_get_input_snd_device() 748 out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET) { in platform_get_input_snd_device() 765 if (out_device & AUDIO_DEVICE_OUT_EARPIECE || in platform_get_input_snd_device() 766 out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE) { in platform_get_input_snd_device() 780 } else if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET) { in platform_get_input_snd_device() 782 } else if (out_device & AUDIO_DEVICE_OUT_ALL_SCO) { in platform_get_input_snd_device() 788 } else if (out_device & AUDIO_DEVICE_OUT_SPEAKER) { in platform_get_input_snd_device() [all …]
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 660 audio_devices_t out_device) in platform_set_echo_reference() argument 672 if (out_device != AUDIO_DEVICE_NONE) { in platform_set_echo_reference() 673 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference() 1910 snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_device) in platform_get_input_snd_device() argument 1927 __func__, out_device, in_device); in platform_get_input_snd_device() 1929 if ((out_device != AUDIO_DEVICE_NONE) && ((mode == AUDIO_MODE_IN_CALL) || in platform_get_input_snd_device() 1932 if (out_device & AUDIO_DEVICE_OUT_WIRED_HEADPHONE || in platform_get_input_snd_device() 1933 out_device & AUDIO_DEVICE_OUT_WIRED_HEADSET || in platform_get_input_snd_device() 1934 out_device & AUDIO_DEVICE_OUT_LINE) { in platform_get_input_snd_device() 1952 if (out_device & AUDIO_DEVICE_OUT_EARPIECE || in platform_get_input_snd_device() [all …]
|
/hardware/qcom/audio/hal/ |
D | platform_api.h | 85 snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_device); 128 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() 77 ALOGW("%s: %d is not a sidetone device", __func__, out_device); in voice_is_sidetone_device()
|
D | audio_hw.c | 1333 audio_devices_t out_device = AUDIO_DEVICE_NONE; in select_devices() local 1343 out_device = AUDIO_DEVICE_OUT_TELEPHONY_TX; in select_devices() 1345 out_device = voip_usecase->stream.out->devices; in select_devices() 1347 out_device = adev->primary_output->devices; in select_devices() 1350 in_snd_device = platform_get_input_snd_device(adev->platform, out_device); in select_devices()
|