Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8960/
Dplatform.c711 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device() local
719 __func__, out_device, in_device); in platform_get_input_snd_device()
775 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
776 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
780 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
800 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
803 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
805 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
807 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
823 if (in_device != AUDIO_DEVICE_NONE && in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c751 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device() local
759 __func__, out_device, in_device); in platform_get_input_snd_device()
816 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
817 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
821 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
834 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
837 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
839 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
841 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
857 if (in_device != AUDIO_DEVICE_NONE && in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dsource_track.c183 audio_devices_t in_device = device; in get_input_audio_device() local
188 in_device = AUDIO_DEVICE_IN_BUILTIN_MIC; in get_input_audio_device()
191 in_device = AUDIO_DEVICE_IN_BACK_MIC; in get_input_audio_device()
194 in_device = AUDIO_DEVICE_IN_WIRED_HEADSET; in get_input_audio_device()
197 in_device = AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET; in get_input_audio_device()
203 return in_device; in get_input_audio_device()
209 audio_devices_t in_device; in derive_mixer_ctl_from_usecase_intf() local
236 in_device = get_input_audio_device(usecase->devices); in derive_mixer_ctl_from_usecase_intf()
237 ret = add_audio_intf_name_to_mixer_ctl(in_device, mixer_ctl_name, in derive_mixer_ctl_from_usecase_intf()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1904 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device() local
1913 __func__, out_device, in_device); in platform_get_input_snd_device()
1921 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
1922 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2002 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
2003 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2007 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
2021 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
2025 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2034 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c2045 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device() local
2054 __func__, out_device, in_device); in platform_get_input_snd_device()
2135 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
2136 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2144 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
2161 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
2165 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2178 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
2184 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
2189 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1985 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device() local
1994 __func__, out_device, in_device, channel_count, channel_mask); in platform_get_input_snd_device()
2064 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC || in platform_get_input_snd_device()
2065 in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
2069 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
2111 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
2115 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) { in platform_get_input_snd_device()
2129 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) { in platform_get_input_snd_device()
2135 in_device = AUDIO_DEVICE_IN_BACK_MIC; in platform_get_input_snd_device()
2139 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) { in platform_get_input_snd_device()
[all …]