mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Bug 1046592 - Fix bustage.
--HG-- extra : rebase_source : ca08f9c642c8ab6463551cf00ad8f4d9c9be02df
This commit is contained in:
parent
60fb551fcf
commit
a908862519
@ -757,8 +757,6 @@ opensl_stream_set_volume(cubeb_stream * stm, float volume)
|
||||
/* clamp to supported range */
|
||||
if (millibels > max_level) {
|
||||
millibels = max_level;
|
||||
} else if (millibels < SL_MILLIBEL_MIN) {
|
||||
millibels = SL_MILLIBEL_MIN;
|
||||
}
|
||||
|
||||
res = (*stm->volume)->SetVolumeLevel(stm->volume, millibels);
|
||||
|
Loading…
x
Reference in New Issue
Block a user