Bug 1046592 - Fix bustage.

--HG--
extra : rebase_source : ca08f9c642c8ab6463551cf00ad8f4d9c9be02df
This commit is contained in:
Paul Adenot 2014-08-08 14:19:14 +02:00
parent 60fb551fcf
commit a908862519

View File

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