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

Commit ae1df915 authored by Eric Laurent's avatar Eric Laurent Committed by Gerrit Code Review
Browse files

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

parents 246b31dc d11442b6
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