summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-09 16:08:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-09 16:08:24 +0000
commit33d0928b61eea7669c6e2eb8fcca6f1886f0be66 (patch)
tree0e68c9d914959057b3b440b734bbfd9da3bc188a
parent5593918baa9929808c483bb082ebd138c0cc18ff (diff)
downloaddrakx-backup-do-not-use-33d0928b61eea7669c6e2eb8fcca6f1886f0be66.tar
drakx-backup-do-not-use-33d0928b61eea7669c6e2eb8fcca6f1886f0be66.tar.gz
drakx-backup-do-not-use-33d0928b61eea7669c6e2eb8fcca6f1886f0be66.tar.bz2
drakx-backup-do-not-use-33d0928b61eea7669c6e2eb8fcca6f1886f0be66.tar.xz
drakx-backup-do-not-use-33d0928b61eea7669c6e2eb8fcca6f1886f0be66.zip
disable PA routing when PA is disabled (#40219)
-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 b828a93ff..9bfeea006 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- draksound:
+ o disable PA routing when PA is disabled (#40219)
+
Version 10.29.2 - 24 April 2008
- bootloader-config:
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index f10af02c7..c920ef0c5 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -325,7 +325,7 @@ sub switch {
my $write_config = sub {
set_pulseaudio($is_pulseaudio_enabled);
- set_pulseaudio_routing($is_pulseaudio_routing_enabled);
+ set_pulseaudio_routing($is_pulseaudio_enabled && $is_pulseaudio_routing_enabled);
set_5_1_in_pulseaudio($is_5_1_in_pulseaudio_enabled);
set_user_switching($is_user_switching);
};