From 4e9b41d5380209b00620bd9fb89fddcf5f4686a8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 May 2008 16:07:34 +0000 Subject: disable PA routing when PA is disabled (#40219) --- perl-install/NEWS | 2 ++ perl-install/harddrake/sound.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); }; -- cgit v1.2.1