Re: snd-emu10k1/audigy understand mixer controls and ac3 passthru problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, 2. Februar 2007 19:57 schrieb Peter Zubaj:
> Hi,
>
> On Fri, 2007-02-02 at 19:13 +0100, Markus Schulz wrote:
> > What did you mean with swapped channels? How can i influence this
> > with original driver?
>
> I think Audigy 2 (maybe some audigy 1 too) has hw bug, and for spdif
> output channels needs to be swapped (left <-> right).
>
> if you look in emu10k1_main.c there is definition for your card
>
>
> {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00521102,
> .driver = "Audigy", .name = "Audigy 1 ES [SB0160]",
> .id = "Audigy",
> .emu10k2_chip = 1,
> .ca0102_chip = 1,
> .spdif_bug = 1,
> .ac97_chip = 1} ,
>
> try remove line with .spdif_bug = 1,

i've changed to .spdif_bug = 0, recompiled and ac3-passthru works out of 
the box (without ld10k1). 
Thanks. 
Can be changed in upstream sources for SB0160 Audigy.

> > > > Next i have some problem to understand the mixer controls.
> > > > At first there is no Mute-Control for: (independent of ld10k1
> > > > loaded or not) Master, PCM, PCM-*, Front, Surround, ...
> > > > This is a real pity.
> > >
> > > For mute control you can look in
> > > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2137
> > > there is patch, it is old, but probably will work. It is tested
> > > only on my Audigy 1.
> >
> > ok, thanks. i will take a look. I think this should be also
> > possible with some ld10k1 patch files? With my sblive 5.1 before, i
> > had some of these "XXX-Switch" patch-objects in standard ld10k1
> > setup (init_live).
>
> init_audigy script, there is some setup for mute switches, but is
> commented out - need some work to get them back (probably simply
> uncomenting some rows and commenting others).

ok, i've tried it and it works fine for Master-Switch and PCM-Switch.
Master-Switch controls all and PCM-Switch controls all 2ch playback. For 
PCM-Front i've found no switch.

I've applied a patch to this email.

Now i'm really happy with this card. ;)
Thanks alot.

-- 
Markus Schulz
--- init_audigy	2007-02-02 20:48:05.000000000 +0100
+++ /usr/share/ld10k1/init_audigy	2006-10-03 20:20:06.000000000 +0200
@@ -8,15 +8,14 @@
 $LO10K1 --conadd "PIN(PCM Multi Volume)=FX(8,9,2,3,6,7)"
 
 #PCM switch
-#controls default pcm 2ch playback
-$LO10K1 -n --ctrl c-switchL,switchR:PCM\ Playback\ Switch,t-PCM\ Playback\ Switch:4 --patch_name PCM\ Switch -a switch_2.emu10k1
+#$LO10K1 -n --ctrl c-switchL,switchR:PCM\ Playback\ Switch,t-PCM\ Playback\ Switch:4 --patch_name PCM\ Switch -a switch_2.emu10k1
 #Input
-$LO10K1 --conadd "PIN(PCM Switch,0,1)=FX(0,1)"
+#$LO10K1 --conadd "PIN(PCM Switch,0,1)=FX(0,1)"
 #PCM
 $LO10K1 -n --ctrl c-Left,Right:PCM\ Playback\ Volume,t-PCM\ Playback\ Volume:1 --patch_name PCM\ Volume -a vol_2.emu10k1
 #Input
-$LO10K1 --conadd "POUT(PCM Switch,0,1)=PIN(PCM Volume,0,1)"
-#$LO10K1 --conadd "PIN(PCM Volume,0,1)=FX(0,1)"
+#$LO10K1 --conadd "POUT(PCM Switch,0,1)=PIN(PCM Volume,0,1)"
+$LO10K1 --conadd "PIN(PCM Volume,0,1)=FX(0,1)"
 #PCM Capture switch
 #$LO10K1 -n --ctrl c-switchL,switchR:PCM\ Capture\ Switch,t-PCM\ Capture\ Switch:4 --patch_name PCM\ Cap\ Switch -a switch_2.emu10k1
 #Input
@@ -210,15 +209,15 @@
 $LO10K1 --conadd "POUT(Tone Controls)>PIN(Master Volume)"
 
 #Master switch
-$LO10K1 -n --ctrl c-switch:Master\ Playback\ Switch,t-Master\ Playback\ Switch:4 --patch_name Master\ Switch -a switch_6.emu10k1
+#$LO10K1 -n --ctrl c-switch:Master\ Playback\ Switch,t-Master\ Playback\ Switch:4 --patch_name Master\ Switch -a switch_6.emu10k1
 #Input
-$LO10K1 --conadd "POUT(Master Volume)=PIN(Master Switch)"
+#$LO10K1 --conadd "POUT(Master Volume)=PIN(Master Switch)"
 
 #Output
 $LO10K1 -n --ctrl c-enableL,enableR:IEC958\ Optical\ Raw\ Playback\ Switch,t-IEC958\ Optical\ Raw\ Playback\ Switch:4 --patch_name Output -a output.emu10k1
 #Inputs
-$LO10K1 --conadd "POUT(Master Switch)=PIN(Output,0,1,2,3,4,5)"
-#$LO10K1 --conadd "POUT(Master Volume)=PIN(Output,0,1,2,3,4,5)"
+#$LO10K1 --conadd "POUT(Master Switch)=PIN(Output,0,1,2,3,4,5)"
+$LO10K1 --conadd "POUT(Master Volume)=PIN(Output,0,1,2,3,4,5)"
 $LO10K1 --conadd "PIN(Output,6,7)=FX(20,21)"
 #Output
 $LO10K1 --conadd "POUT(Output,0,1,2,3,4,5)=OUT(8,9,14,15,10,11)"
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux