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

Commit a8183673 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

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

Change-Id: I6a5ad41a3b34ca3a2ca209352100c868b277b007
parents 693f515a be7cabc2
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