From 81dd1722946efe118b498c273f2c0afd0fc85442 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 May 2008 16:22:15 +0000 Subject: (switch) grey PA routing if PA is disabled --- perl-install/NEWS | 1 + perl-install/harddrake/sound.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index fffbb9df6..cdeba80b4 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 if PA is disabled - handle new drivers: o pata: pata_sch diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index c920ef0c5..2b1191440 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -339,6 +339,7 @@ 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"), -- cgit v1.2.1