summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-09 16:07:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-09 16:07:34 +0000
commit4e9b41d5380209b00620bd9fb89fddcf5f4686a8 (patch)
treeb07185d10486c413e6d88450c7067154dbbbe104
parentb367f6e15bfee16a0e177359744b5fed471b6ba9 (diff)
downloaddrakx-4e9b41d5380209b00620bd9fb89fddcf5f4686a8.tar
drakx-4e9b41d5380209b00620bd9fb89fddcf5f4686a8.tar.gz
drakx-4e9b41d5380209b00620bd9fb89fddcf5f4686a8.tar.bz2
drakx-4e9b41d5380209b00620bd9fb89fddcf5f4686a8.tar.xz
drakx-4e9b41d5380209b00620bd9fb89fddcf5f4686a8.zip
disable PA routing when PA is disabled (#40219)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/harddrake/sound.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 6cc7a71c2..fffbb9df6 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- draksound:
+ o disable PA routing when PA is disabled (#40219)
- handle new drivers:
o pata: pata_sch
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);
};