summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-08 11:58:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-08 11:58:02 +0000
commitb215b1a6dd96e47e7127647ebadacb822e344fcf (patch)
tree354a9a2a9c7c4c937ca661a79495f4a60313632b
parentc3a51518827cfe4a704dd631e0424a16109f0c00 (diff)
downloaddrakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar
drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.gz
drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.bz2
drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.tar.xz
drakx-b215b1a6dd96e47e7127647ebadacb822e344fcf.zip
most mixer elements always are integer
-rwxr-xr-xmove/tree/alsa_default.pl2
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/
}
}