At Wed, 6 Apr 2011 10:15:21 +0800, Raymond Yau wrote:
2011/4/4 Takashi Iwai tiwai@suse.de
At Wed, 30 Mar 2011 20:50:51 +0800, Raymond Yau wrote:
SB Live! Platinum CT4760P is just a 4 channels sound card with STAC9721
and
Philips UDA1334 DAC
Is it feasible to remove "Center" , "LFE", "Wave Cetner" and "Wave LFE" Playback Volume control ?
or add a bitmap to disable the creation of those controls
Anyone know whether this patch has any side effect for the user with
Live
Drive
The side-effect is that opening surround51 would spew annoying error messages as you've seen. It should return an error without much complaint.
I'm not sure what is the best way to solve it. Defining another conf such as EMU10K1-4ch.conf would be an option, but it's not elegant...
thanks,
Takashi
AFAIK, speaker-test will fail
speaker-test -d -c 6 -t wav -Dsurround51:1
speaker-test 1.0.24.2
Playback device is surround51:1 Stream parameters are 48000Hz, S16_LE, 6 channels WAV file(s) ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'Headphone Center Playback Switch',1,0,0): No such file or
directory
Playback open error: -2,No such file or directory
The point is those 4.1 speakers for SB Live!, SB Live! Platinum and SB Live! Value only have green jack and blue jack, the signal of the Subwoofer is produced from the those jacks
it seem that the device "surround41" is only for SB Live! 5.1 in alsa
slave.channels 6 ttable.0.0 1 ttable.1.1 1 ttable.2.2 1 ttable.3.3 1 ttable.4.5 1 hint { description "4.1 Surround output to Front, Rear and Subwoofer
speakers" device $DEV }
OK, I overlooked that the problematic controls are "Headphone XXX". These should be marked as optional in the card config. I fixed this now.
Meanwhile, as no obvious problem is found in your patch, I applied it now.
thanks,
Takashi