summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-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/
}
}