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

Commit 53d72d1f 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

am: c986721b

Change-Id: If40a0218b9d648cd5af71ef56b37661a4c4ec2b9
parents 3f644e74 c986721b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1278,9 +1278,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