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

Commit be7cabc2 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: ae1df915

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

Change-Id: I7b4cb45cde5ddfde72dde7453640520199389c7e
parents 49b8da0e ae1df915
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1721,7 +1721,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