summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
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 /perl-install/harddrake
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)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
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);
};