summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-13 12:34:25 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-13 12:34:25 +0000
commit56266b922c88f17d06477098ae50c12420215bbb (patch)
tree8d627af2dc21d72543c5d580e39175c2d88c234d /perl-install/harddrake/sound.pm
parent33d0928b61eea7669c6e2eb8fcca6f1886f0be66 (diff)
downloaddrakx-56266b922c88f17d06477098ae50c12420215bbb.tar
drakx-56266b922c88f17d06477098ae50c12420215bbb.tar.gz
drakx-56266b922c88f17d06477098ae50c12420215bbb.tar.bz2
drakx-56266b922c88f17d06477098ae50c12420215bbb.tar.xz
drakx-56266b922c88f17d06477098ae50c12420215bbb.zip
(sync) grey PA routing & 5.1 sound if PA is disabled
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index c920ef0c5..4d5288c0f 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -339,10 +339,12 @@ sub switch {
{
text => N("Automatic routing from ALSA to PulseAudio"),
type => 'bool', val => \$is_pulseaudio_routing_enabled,
+ disabled => sub { !$is_pulseaudio_enabled },
},
{
text => N("Enable 5.1 sound with Pulse Audio"),
type => 'bool', val => \$is_5_1_in_pulseaudio_enabled,
+ disabled => sub { !$is_pulseaudio_enabled },
},
{
text => N("Enable user switching for audio applications"),