summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksound
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-04-01 13:16:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-04-01 13:16:25 +0000
commit33431ad9a921d8f2fd04d66a4a36175a1816ffb9 (patch)
tree14cec80341b9032326b3efa638b574ecaf83c0a4 /perl-install/standalone/draksound
parent54b42f3a18dc280468a846de79dc750887dc34eb (diff)
downloaddrakx-33431ad9a921d8f2fd04d66a4a36175a1816ffb9.tar
drakx-33431ad9a921d8f2fd04d66a4a36175a1816ffb9.tar.gz
drakx-33431ad9a921d8f2fd04d66a4a36175a1816ffb9.tar.bz2
drakx-33431ad9a921d8f2fd04d66a4a36175a1816ffb9.tar.xz
drakx-33431ad9a921d8f2fd04d66a4a36175a1816ffb9.zip
move harddrake::sound $index param in hash and pass only the hash ref around
functions
Diffstat (limited to 'perl-install/standalone/draksound')
-rwxr-xr-xperl-install/standalone/draksound1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound
index 7e71af88d..1e4f299f6 100755
--- a/perl-install/standalone/draksound
+++ b/perl-install/standalone/draksound
@@ -40,6 +40,7 @@ if (@devices) {
my $driver = modules::get_alias("sound-slot-$::i");
$driver = modules::get_alias($driver) if $driver =~ /sound-card/; # alsaconf ...
$_->{current_driver} = $driver if $driver;
+ $_->{sound_slot_index} = $::i;
harddrake::sound::config($in, $_, $::i);
} modules::probe_category('multimedia/sound');
} else {