summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
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 /perl-install/harddrake/sound.pm
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)
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-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);
};