mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
audio_mixer: correct conversion
Origin commit data
------------------
Branch: master
Commit: 9c22d47bc3
Author: martii <you@example.com>
Date: 2012-09-05 (Wed, 05 Sep 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -66,5 +66,5 @@ bool mixerVolume::setVolume(long volume) {
|
||||
return elem
|
||||
&& (volume > -1)
|
||||
&& (volume < 101)
|
||||
&& !snd_mixer_selem_set_playback_volume_all(elem, min + volume * (max - min)/101);
|
||||
&& !snd_mixer_selem_set_playback_volume_all(elem, min + volume * (max - min)/100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user