summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
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"),