From 9964c93164761f566a5c63b8f40568d48b2fee85 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Jul 2009 12:18:34 +0000 Subject: (is_pulseaudio_glitchfree_enabled) handle udev-detect module too (new PA) --- 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 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 { -- cgit v1.2.1