diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-08 11:58:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-08 11:58:02 +0000 |
commit | b215b1a6dd96e47e7127647ebadacb822e344fcf (patch) | |
tree | 354a9a2a9c7c4c937ca661a79495f4a60313632b /move | |
parent | c3a51518827cfe4a704dd631e0424a16109f0c00 (diff) | |
download | drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.gz drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.bz2 drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.xz drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.zip |
most mixer elements always are integer
Diffstat (limited to 'move')
-rwxr-xr-x | move/tree/alsa_default.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/move/tree/alsa_default.pl b/move/tree/alsa_default.pl index 927c8c1d3..0ad89c264 100755 --- a/move/tree/alsa_default.pl +++ b/move/tree/alsa_default.pl @@ -13,7 +13,7 @@ if (/\s*control\./) { # enable switches (we should really blacklist sb live and the like): s/(value\w*\S*)\s* false/\1 true/; # set volume to 67%: - my $val = $max*0.6; + my $val = int($max*0.6); s/(value\w*\S*)\s* 0/\1 $val/ } } |