Searched refs:in_device (Results 1 – 3 of 3) sorted by relevance
776 audio_devices_t in_device = in platform_get_input_snd_device() local781 __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 …]
2054 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 …]
3112 audio_devices_t in_device) in get_snd_device_for_voice_comm() argument3118 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() argument3162 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 …]