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

gugelfrei
TreeHugger Robot 7 years ago committed by Android (Google) Code Review
commit c4a226e858

@ -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

Loading…
Cancel
Save