summaryrefslogtreecommitdiffstats
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
parent33d0928b61eea7669c6e2eb8fcca6f1886f0be66 (diff)
downloaddrakx-backup-do-not-use-56266b922c88f17d06477098ae50c12420215bbb.tar
drakx-backup-do-not-use-56266b922c88f17d06477098ae50c12420215bbb.tar.gz
drakx-backup-do-not-use-56266b922c88f17d06477098ae50c12420215bbb.tar.bz2
drakx-backup-do-not-use-56266b922c88f17d06477098ae50c12420215bbb.tar.xz
drakx-backup-do-not-use-56266b922c88f17d06477098ae50c12420215bbb.zip
(sync) grey PA routing & 5.1 sound if PA is disabled
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/harddrake/sound.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 9bfeea006..3ffeab578 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- draksound:
o disable PA routing when PA is disabled (#40219)
+ o grey PA routing & 5.1 sound if PA is disabled
Version 10.29.2 - 24 April 2008
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"),