summaryrefslogtreecommitdiffstats
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
parent0e1c39e492cac56844c6aa8e899d66164dd271a2 (diff)
downloaddrakx-backup-do-not-use-9964c93164761f566a5c63b8f40568d48b2fee85.tar
drakx-backup-do-not-use-9964c93164761f566a5c63b8f40568d48b2fee85.tar.gz
drakx-backup-do-not-use-9964c93164761f566a5c63b8f40568d48b2fee85.tar.bz2
drakx-backup-do-not-use-9964c93164761f566a5c63b8f40568d48b2fee85.tar.xz
drakx-backup-do-not-use-9964c93164761f566a5c63b8f40568d48b2fee85.zip
(is_pulseaudio_glitchfree_enabled) handle udev-detect module too (new PA)
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/harddrake/sound.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d2fead543..bcb1cfa01 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- draksound
+ o handle udev-detect module too (new PA)
+
Version 12.40 - 22 July 2009
- lookup unlisted devices in /sys (or /proc) when looking for
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 {