Lines Matching full:in_device
519 audio_devices_t in_device;
532 in_device = ((active_input == NULL) ?
538 ALOGV("%s: enter: out_device(%#x) in_device(%#x)",
539 __func__, out_device, in_device);
573 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC ||
574 in_device & AUDIO_DEVICE_IN_BACK_MIC) {
578 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
589 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
594 in_device = AUDIO_DEVICE_IN_BACK_MIC;
597 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
599 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
605 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
620 if (in_device != AUDIO_DEVICE_NONE &&
621 !(in_device & AUDIO_DEVICE_IN_VOICE_CALL) &&
622 !(in_device & AUDIO_DEVICE_IN_COMMUNICATION)) {
623 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
625 } else if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
627 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
629 } else if (in_device & AUDIO_DEVICE_IN_AUX_DIGITAL) {
632 ALOGE("%s: Unknown input device(s) %#x", __func__, in_device);