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

Commit ac71d9d2 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "AudioPolicy: manager: force gain on startSource when using HW Gain" am:...

Merge "AudioPolicy: manager: force gain on startSource when using HW Gain" am: ae1df915 am: be7cabc2 am: a8183673

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

Change-Id: I213aa0ad8905a82e6c8679c8d0eec2d522c2e10c
parents 7dd78282 a8183673
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1775,7 +1775,8 @@ status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outp
        checkAndSetVolume(curves, client->volumeSource(),
                          curves.getVolumeIndex(outputDesc->devices().types()),
                          outputDesc,
                          outputDesc->devices().types());
                          outputDesc->devices().types(), 0 /*delay*/,
                          outputDesc->useHwGain() /*force*/);

        // update the outputs if starting an output with a stream that can affect notification
        // routing