Home
last modified time | relevance | path

Searched refs:in_device (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/msm8960/
Dplatform.c776 audio_devices_t in_device = in platform_get_input_snd_device() local
781 __func__, out_device, in_device); in platform_get_input_snd_device()
837 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
838 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
842 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
862 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
865 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
867 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
869 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
885 if (in_device != AUDIO_DEVICE_NONE && in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/hal/msm8916/
Dplatform.c2054 audio_devices_t in_device)
2060 switch(AUDIO_DEVICE_BIT_IN | in_device) {
2083 ALOGE("%s: Unsupported in_device %#x", __func__, in_device);
2095 audio_devices_t in_device)
2103 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2116 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2122 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
2128 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
2141 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
2147 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c3112 audio_devices_t in_device) in get_snd_device_for_voice_comm() argument
3118 switch(AUDIO_DEVICE_BIT_IN | in_device) { in get_snd_device_for_voice_comm()
3143 ALOGE("%s: Unsupported in_device %#x", __func__, in_device); in get_snd_device_for_voice_comm()
3155 audio_devices_t in_device) in get_snd_device_for_voice_comm() argument
3162 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in get_snd_device_for_voice_comm()
3170 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in get_snd_device_for_voice_comm()
3177 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in get_snd_device_for_voice_comm()
3179 } else if (audio_is_usb_in_device(in_device | AUDIO_DEVICE_BIT_IN)) { in get_snd_device_for_voice_comm()
3183 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in get_snd_device_for_voice_comm()
3191 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in get_snd_device_for_voice_comm()
[all …]