Loading services/audiopolicy/managerdefault/AudioPolicyManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -8350,7 +8350,9 @@ float AudioPolicyManager::adjustDeviceAttenuationForAbsVolume(IVolumeCurves &cur VolumeSource vsToDriveAbs = toVolumeSource(groupToDriveAbs); if (vsToDriveAbs == volumeSource) { // attenuation is applied by the abs volume controller return (index != 0) ? volumeDbMax : volumeDb; // do not mute LE broadcast to allow the secondary device to continue playing return (index != 0 || volumeDevice == AUDIO_DEVICE_OUT_BLE_BROADCAST) ? volumeDbMax : volumeDb; } else { IVolumeCurves &curvesAbs = getVolumeCurves(vsToDriveAbs); int indexAbs = curvesAbs.getVolumeIndex({volumeDevice}); Loading Loading
services/audiopolicy/managerdefault/AudioPolicyManager.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -8350,7 +8350,9 @@ float AudioPolicyManager::adjustDeviceAttenuationForAbsVolume(IVolumeCurves &cur VolumeSource vsToDriveAbs = toVolumeSource(groupToDriveAbs); if (vsToDriveAbs == volumeSource) { // attenuation is applied by the abs volume controller return (index != 0) ? volumeDbMax : volumeDb; // do not mute LE broadcast to allow the secondary device to continue playing return (index != 0 || volumeDevice == AUDIO_DEVICE_OUT_BLE_BROADCAST) ? volumeDbMax : volumeDb; } else { IVolumeCurves &curvesAbs = getVolumeCurves(vsToDriveAbs); int indexAbs = curvesAbs.getVolumeIndex({volumeDevice}); Loading