summaryrefslogtreecommitdiffstats
path: root/move/tree
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-10 12:14:35 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-10 12:14:35 +0000
commit3a422deee009116d5f7059187f59c10100d129ad (patch)
treeae54b787c7dc1ffc673e57314be775c9e6a81e2f /move/tree
parent97cbb1e160c52c4d62921842d3679131e3506df9 (diff)
downloaddrakx-backup-do-not-use-3a422deee009116d5f7059187f59c10100d129ad.tar
drakx-backup-do-not-use-3a422deee009116d5f7059187f59c10100d129ad.tar.gz
drakx-backup-do-not-use-3a422deee009116d5f7059187f59c10100d129ad.tar.bz2
drakx-backup-do-not-use-3a422deee009116d5f7059187f59c10100d129ad.tar.xz
drakx-backup-do-not-use-3a422deee009116d5f7059187f59c10100d129ad.zip
merge with sound-scripts (we should really just use
../../../soft/sound-scripts/alsa_default.pl)
Diffstat (limited to 'move/tree')
-rwxr-xr-xmove/tree/alsa_default.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/move/tree/alsa_default.pl b/move/tree/alsa_default.pl
index d95400f67..28b06cc04 100755
--- a/move/tree/alsa_default.pl
+++ b/move/tree/alsa_default.pl
@@ -5,7 +5,7 @@ if (/\s*control\./) {
($min, $max) = (0, 0);
} elsif (/\s*name '/) {
# skip masks and blacklist sb live and the like:
- $ignore = /\s*name '.*(3D Control|AC97 Playback Volume|Audigy Analog\/Digital Output Jack|External Amplifier Power Down|Exchange DAC|IEC958 input monitor|IEC958 Capture Monitor|IEC958 Playback Switch|mask|Output Jack|Surround down mix)/i;
+ $ignore = /\s*name '.*(3D Control|AC97 Playback Volume|Audigy Analog\/Digital Output Jack|External Amplifier Power Down|Exchange DAC|IEC958 input monitor|IEC958 Capture Monitor|IEC958 Playback Switch|mask|Mic Boost \(\+20dB\)|Mic Playback Switch|Output Jack|Surround down mix)/i;
} elsif (!$ignore) {
if (/s*comment.range '(\d+) - (\d+)'/) {
($min, $max) = ($1, $2);
@@ -14,6 +14,6 @@ if (/\s*control\./) {
s/(value\w*\S*)\s* false/\1 true/;
# set volume to 80%:
my $val = int($max*0.8);
- s/(value\w*\S*)\s* 0/\1 $val/
+ s/(value\w*\S*)\s* \d+/\1 $val/;
}
}