From 1dce0edabddba25530faa1fa3e8cea6b284680d8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 May 2008 12:33:19 +0000 Subject: (switch) grey 5.1 sound option if PA is disabled --- perl-install/NEWS | 2 +- perl-install/harddrake/sound.pm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index cdeba80b4..c5a0ba592 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,6 @@ - draksound: o disable PA routing when PA is disabled (#40219) - o grey PA routing if PA is disabled + o grey PA routing & 5.1 sound 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 2b1191440..4d5288c0f 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -344,6 +344,7 @@ sub switch { { 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"), -- cgit v1.2.1