Bug 730176 - Volume buttons don't control call volume [r=cjones]

This commit is contained in:
Fabrice Desré 2012-02-24 02:47:13 -08:00
parent 2cde588c6f
commit 4668a84e9b

View File

@ -76,6 +76,10 @@ AudioManager::SetMasterVolume(float aMasterVolume)
if (AudioSystem::setMasterVolume(aMasterVolume)) {
return NS_ERROR_FAILURE;
}
// For now, just set the voice volume at the same level
if (AudioSystem::setVoiceVolume(aMasterVolume)) {
return NS_ERROR_FAILURE;
}
return NS_OK;
}