summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-07-23 12:18:34 +0000
committerThierry Vignaud <tv@mandriva.org>2009-07-23 12:18:34 +0000
commit9964c93164761f566a5c63b8f40568d48b2fee85 (patch)
tree50139221d665ab8593b4b3edff2aea1ae3861e74 /perl-install/harddrake/sound.pm
parent0e1c39e492cac56844c6aa8e899d66164dd271a2 (diff)
downloaddrakx-9964c93164761f566a5c63b8f40568d48b2fee85.tar
drakx-9964c93164761f566a5c63b8f40568d48b2fee85.tar.gz
drakx-9964c93164761f566a5c63b8f40568d48b2fee85.tar.bz2
drakx-9964c93164761f566a5c63b8f40568d48b2fee85.tar.xz
drakx-9964c93164761f566a5c63b8f40568d48b2fee85.zip
(is_pulseaudio_glitchfree_enabled) handle udev-detect module too (new PA)
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index d0ecbc24d..202ad923e 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -245,7 +245,7 @@ my $pa_defaultsconfig_file = "$::prefix/etc/pulse/default.pa";
sub is_pulseaudio_glitchfree_enabled() {
return -f $pa_defaultsconfig_file &&
- cat_($pa_defaultsconfig_file) !~ /^load-module\s+module-hal-detect\s+tsched=0/m;
+ cat_($pa_defaultsconfig_file) !~ /^load-module\s+module-(udev|hal)-detect\s+tsched=0/m;
}
sub set_pulseaudio_glitchfree {