Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bdda71a authored by Dan Zhang's avatar Dan Zhang Committed by android-build-merger
Browse files

Merge "Add USB MIC in case of AUDIO_SOURCE_CAMCORDER" am: 69b95935

am: 671b05bf

Change-Id: I117dbe53c6ab331b3cb41777c3247ecb3b5b68b2
parents 5f945f25 671b05bf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -726,6 +726,9 @@ audio_devices_t Engine::getDeviceForInputSource(audio_source_t inputSource) cons
            device = AUDIO_DEVICE_IN_BACK_MIC;
        } else if (availableDeviceTypes & AUDIO_DEVICE_IN_BUILTIN_MIC) {
            device = AUDIO_DEVICE_IN_BUILTIN_MIC;
        } else if (availableDeviceTypes & AUDIO_DEVICE_IN_USB_DEVICE) {
            // This is specifically for a device without built-in mic
            device = AUDIO_DEVICE_IN_USB_DEVICE;
        }
        break;
    case AUDIO_SOURCE_VOICE_DOWNLINK: