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

Commit 00c14ee3 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 am: 5bdda71a

am: 31a86b9c

Change-Id: I600300a828fe589c942ebae4dd6c060e5799a8c6
parents a2a19382 31a86b9c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -725,6 +725,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: