From b215b1a6dd96e47e7127647ebadacb822e344fcf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Dec 2003 11:58:02 +0000 Subject: most mixer elements always are integer --- move/tree/alsa_default.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'move/tree') 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/ } } -- cgit v1.2.1