From 89a14b9204e0caad6d143949e0ea9c4cf2173df9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 5 Aug 2005 04:23:39 +0000 Subject: move is_xbox from common to detect_devices --- perl-install/harddrake/sound.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 9f4c7770f..4bbe45e93 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -359,7 +359,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(); + $modules_conf->set_options($_->{driver}, "xbox=1") if $_->{driver} eq "snd-intel8x0" && detect_devices::is_xbox(); } } detect_devices::getSoundDevices(); $modules_conf->write if $altered && $::isStandalone; -- cgit v1.2.1