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

Commit c4a226e8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents aba0e98b 6fe70331
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