On 24 Feb 2002, Andrew Van Overloop wrote:

> Has anyone got xine to output Dolby Digital with a SB Live using ALSA
> 0.9.0beta11?  I was able to do it with 0.9.0beta10 and I think I have
> everything set up exactly the same (same exact version of Xine, thats
> why I'm asking for help with ALSA, not Xine) but I just can't get Xine
> to output on it.  I can output PCM over my optical digital out, but not
> A52.  Any ideas?  Is there something extra I have to do?

It's a bug caused by the integration of Audigy code. The following patch
fixes it. I've applied it to CVS as well.

Index: emu10k1.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/emu10k1.h,v
retrieving revision 1.9
diff -u -r1.9 emu10k1.h
--- emu10k1.h   22 Feb 2002 12:53:28 -0000      1.9
+++ emu10k1.h   25 Feb 2002 11:52:58 -0000
@@ -1116,11 +1116,11 @@
 #define GPR_NOISE1     0x59            /* noise source */
 #define GPR_IRQ                0x5a            /* IRQ register */
 #define GPR_DBAC       0x5b            /* TRAM Delay Base Address Counter */
-#define GPR(x)         (FXGPREGBASE + (x))     /* free GPRs: x = 0x00 - 0xff */
-#define ITRAM_DATA(x)  (TANKMEMDATAREGBASE + (x))      /* x = 0x00 - 0x7f */
-#define ETRAM_DATA(x)  (TANKMEMDATAREGBASE + 80 + (x)) /* x = 0x00 - 0x1f */
-#define ITRAM_ADDR(x)  (TANKMEMADDRREGBASE + (x))      /* x = 0x00 - 0x7f */
-#define ETRAM_ADDR(x)  (TANKMEMADDRREGBASE + 80 + (x)) /* x = 0x00 - 0x1f */
+#define GPR(x)         (FXGPREGBASE + (x)) /* free GPRs: x = 0x00 - 0xff */
+#define ITRAM_DATA(x)  (TANKMEMDATAREGBASE + 0x00 + (x)) /* x = 0x00 - 0x7f */
+#define ETRAM_DATA(x)  (TANKMEMDATAREGBASE + 0x80 + (x)) /* x = 0x00 - 0x1f */
+#define ITRAM_ADDR(x)  (TANKMEMADDRREGBASE + 0x00 + (x)) /* x = 0x00 - 0x7f */
+#define ETRAM_ADDR(x)  (TANKMEMADDRREGBASE + 0x80 + (x)) /* x = 0x00 - 0x1f */

 #define A_FXBUS(x)     (0x00 + (x))    /* x = 0x00 - 0x3f? */
 #define A_EXTIN(x)     (0x40 + (x))    /* x = 0x00 - 0x1f? */

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to