diff options
author | Mystery Man <unknown@mandriva.org> | 2004-11-06 08:30:59 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2004-11-06 08:30:59 +0000 |
commit | 42e38e074bf1200783849ea85e205e6614f988d7 (patch) | |
tree | 3c218a7ef3c66c8064eb2f6fa84ef44cef7b55a6 /move/tree/alsa_default.pl | |
parent | a4a67fd68bcffc42eb98871618c8f07b55157d5e (diff) | |
download | drakx-backup-do-not-use-topic/a.tar drakx-backup-do-not-use-topic/a.tar.gz drakx-backup-do-not-use-topic/a.tar.bz2 drakx-backup-do-not-use-topic/a.tar.xz drakx-backup-do-not-use-topic/a.zip |
This commit was manufactured by cvs2svn to create branch 'a'.topic/a
Diffstat (limited to 'move/tree/alsa_default.pl')
-rwxr-xr-x | move/tree/alsa_default.pl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/move/tree/alsa_default.pl b/move/tree/alsa_default.pl deleted file mode 100755 index 28b06cc04..000000000 --- a/move/tree/alsa_default.pl +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/perl -pi - -# state machine: -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|Mic Boost \(\+20dB\)|Mic Playback Switch|Output Jack|Surround down mix)/i; -} elsif (!$ignore) { - if (/s*comment.range '(\d+) - (\d+)'/) { - ($min, $max) = ($1, $2); - } elsif (/s*value/) { - # enable switches: - s/(value\w*\S*)\s* false/\1 true/; - # set volume to 80%: - my $val = int($max*0.8); - s/(value\w*\S*)\s* \d+/\1 $val/; - } -} |