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

Commit c986721b authored by Shuhei Miyazaki's avatar Shuhei Miyazaki Committed by android-build-merger
Browse files

Merge "Set output volume for routing device in startSource()" into oc-mr1-dev

am: c4a226e8

Change-Id: I69f086c8fd64c6ebe8629ac8d5b9dbfe27557be5
parents 7b2d27ef c4a226e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1320,9 +1320,9 @@ status_t AudioPolicyManager::startSource(const sp<AudioOutputDescriptor>& output

        // apply volume rules for current stream and device if necessary
        checkAndSetVolume(stream,
                          mVolumeCurves->getVolumeIndex(stream, device),
                          mVolumeCurves->getVolumeIndex(stream, outputDesc->device()),
                          outputDesc,
                          device);
                          outputDesc->device());

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