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

Commit e2aaf078 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix exception when Release Audio Input Effect" am: 1004c244

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1512719

Change-Id: I73e7501dd17e7602dcebac85473f9eeef7827ed5
parents 29582de4 1004c244
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8643,6 +8643,7 @@ status_t AudioFlinger::RecordThread::releaseAudioPatch_l(const audio_patch_handl

void AudioFlinger::RecordThread::updateOutDevices(const DeviceDescriptorBaseVector& outDevices)
{
    Mutex::Autolock _l(mLock);
    mOutDevices = outDevices;
    mOutDeviceTypeAddrs = deviceTypeAddrsFromDescriptors(mOutDevices);
    for (size_t i = 0; i < mEffectChains.size(); i++) {