Lines Matching full:in_device
550 audio_devices_t in_device;
563 in_device = ((active_input == NULL) ?
569 ALOGV("%s: enter: out_device(%#x) in_device(%#x)",
570 __func__, out_device, in_device);
606 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC ||
607 in_device & AUDIO_DEVICE_IN_BACK_MIC) {
611 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
622 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
627 in_device = AUDIO_DEVICE_IN_BACK_MIC;
630 if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
632 } else if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
638 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
653 if (in_device != AUDIO_DEVICE_NONE &&
654 !(in_device & AUDIO_DEVICE_IN_VOICE_CALL) &&
655 !(in_device & AUDIO_DEVICE_IN_COMMUNICATION)) {
656 if (in_device & AUDIO_DEVICE_IN_BUILTIN_MIC) {
658 } else if (in_device & AUDIO_DEVICE_IN_BACK_MIC) {
660 } else if (in_device & AUDIO_DEVICE_IN_WIRED_HEADSET) {
662 } else if (in_device & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) {
664 } else if (in_device & AUDIO_DEVICE_IN_AUX_DIGITAL) {
667 ALOGE("%s: Unknown input device(s) %#x", __func__, in_device);