summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-03-22 23:06:54 +0000
committerStew Benedict <stewb@mandriva.org>2005-03-22 23:06:54 +0000
commit1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5 (patch)
treee8148479befd5182469dd018f166bf2813807f5d /perl-install/harddrake/sound.pm
parentc772aa8be2e27faf9f2c6873c481804f7d9cf4c4 (diff)
downloaddrakx-1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5.tar
drakx-1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5.tar.gz
drakx-1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5.tar.bz2
drakx-1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5.tar.xz
drakx-1bc9fb6b2a2f40b6632f4a60a85b8b6504f721d5.zip
XBox - add options "xbox=1" for sound driver (thx Thierry)
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 95a6de10d..e1651f23c 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -358,6 +358,7 @@ sub configure_sound_slots {
if (!member($default_driver, @{get_alternative($_->{driver})}, $_->{driver})) {
$altered ||= $default_driver;
$modules_conf->set_sound_slot("sound-slot-$::i", $_->{driver});
+ $modules_conf->set_options($_->{driver}, "xbox=1") if $_->{driver} eq "snd-intel8x0" && is_xbox();
}
} detect_devices::getSoundDevices();
$modules_conf->write if $altered && $::isStandalone;