From ae80d8b647b94e5a2658296b92524ac61c8e116b Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 28 Jun 2004 10:26:45 +0000 Subject: [PATCH] James Courtier-Dutton : AudigyLS now supports Digital(AC3)/Analog outputs. 5.1 Surround PLAYBACK. MIC and LINE IN CAPTURE. The MIC and LINE IN use the AC97 chip. The AC97 uses the PLAYBACK(Not CAPTURE) controls in alsamixer for controlling CAPTURE. Then, instead of sending that output to the speakers, it sends it to the Philips 1361T ADC. This results in high quality ADC conversion. E.g. For LINE IN capture, set LINE IN playback volume and unmute it. Set MASTER volume. There is a new control for "CAPTURE feedback into PLAYBACK". If one does not want any feedback, leave it at it's minimum. Once I have figured out all the controls in the AC97 and what they do for the AudigyLS, I will rename them so that they make sense to the user. Please see attached patch files against the current CVS. Still TODO: 1) Set multiple sample rates. 2) Add a CAPUTRE source switch for switch between "MIC", "Line in", "SPDIF in", "TAD in", "AUX in" and "What u hear". Currently, one cannot switch to capture "SPDIF in" or "What u hear", but all the other inputs are possible via switches in the AC97. 3) Set multiple periods per buffer. 4) MIDI in/out. 5) Cleaner module unload. --- src/conf/cards/AudigyLS.conf | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/conf/cards/AudigyLS.conf b/src/conf/cards/AudigyLS.conf index b08152bb..4e571c14 100644 --- a/src/conf/cards/AudigyLS.conf +++ b/src/conf/cards/AudigyLS.conf @@ -23,7 +23,7 @@ AudigyLS.pcm.rear.0 { } type hw card $CARD - device 3 + device 1 } @@ -35,7 +35,7 @@ AudigyLS.pcm.center_lfe.0 { } type hw card $CARD - device 1 + device 2 } @@ -146,11 +146,18 @@ AudigyLS.pcm.iec958.0 { slave.pcm { type hw card $CARD - device 3 + device 0 } hooks.0 { type ctl_elems hook_args [ + { + name "PCM Front Volume" + index 0 + lock true + preserve true + value [ 207 207 ] # Puts 0x30303030 in the Volume register. 0xff - 0x30 = 0xcf = 207 + } { name "Analog/Digital Output Jack" lock true @@ -159,7 +166,7 @@ AudigyLS.pcm.iec958.0 { } { name "IEC958 Playback Default" - index 0 + index 1 lock true preserve true value [ $AES0 $AES1 $AES2 $AES3 ] -- 2.47.1