diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-23 14:04:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-23 14:04:03 +0000 |
commit | d32d4007e1deca2fde89dfe7abc71e521570414a (patch) | |
tree | f98b0cea5c9eb26f2008e7e2976ea4e5400584f4 /perl-install/standalone/draksound | |
parent | a2692b556d850d09d0f8662cac6f60a9deca49f1 (diff) | |
download | drakx-d32d4007e1deca2fde89dfe7abc71e521570414a.tar drakx-d32d4007e1deca2fde89dfe7abc71e521570414a.tar.gz drakx-d32d4007e1deca2fde89dfe7abc71e521570414a.tar.bz2 drakx-d32d4007e1deca2fde89dfe7abc71e521570414a.tar.xz drakx-d32d4007e1deca2fde89dfe7abc71e521570414a.zip |
use right sound-slot
Diffstat (limited to 'perl-install/standalone/draksound')
-rwxr-xr-x | perl-install/standalone/draksound | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound index 319c6381a..88f8e99c3 100755 --- a/perl-install/standalone/draksound +++ b/perl-install/standalone/draksound @@ -36,8 +36,10 @@ my @devices = grep { $_->{media_type} eq 'MULTIMEDIA_AUDIO' } detect_devices::pr if (@devices) { # TODO: That need some work for multiples sound cards map_index { - # allocate sound-slot in the same order as install2.pm $device->{driver} with the right sound-slot-XX - $_->{driver} = modules::get_alias("sound-slot-$::i"); + # allocate sound-slot in the same order as install2.pm + # fill $device->{driver} with the right sound-slot-XX or default driver if missing sound-slot [real fix'll be in harddrake service] + my $driver = modules::get_alias("sound-slot-$::i"); + $_->{driver} = $driver if $driver; harddrake::sound::config($in, $_); } modules::probe_category('multimedia/sound'); } else { |