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

Commit 671b05bf 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

Change-Id: I050fd29adc4950b50bc63f3230d7af7201ebc245
parents 28301383 69b95935
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: