Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] emu10k1.h
@ 2004-02-25  1:29 James Courtier-Dutton
  0 siblings, 0 replies; only message in thread
From: James Courtier-Dutton @ 2004-02-25  1:29 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Adds some info to /usr/src/linux/include/sound/emu10k1.h

Cheers
James

[-- Attachment #2: emu10k1.h.diff --]
[-- Type: text/x-patch, Size: 847 bytes --]

--- emu10k1.h.org	2004-02-25 01:08:35.129501584 +0000
+++ emu10k1.h	2004-02-25 01:26:34.617394480 +0000
@@ -644,9 +644,13 @@
 #define SOLEH			0x5d		/* Stop on loop enable high register		*/
 
 #define SPBYPASS		0x5e		/* SPDIF BYPASS mode register			*/
-#define SPBYPASS_ENABLE		0x00000001	/* Enable SPDIF bypass mode			*/
+#define SPBYPASS_SPDIF0_MASK	0x00000003	/* SPDIF 0 bypass mode				*/
+#define SPBYPASS_SPDIF1_MASK	0x0000000c	/* SPDIF 1 bypass mode				*/
+/* bypass mode: 0 - DSP; 1 - SPDIF A, 2 - SPDIF B, 3 - SPDIF C					*/
+#define SPBYPASS_FORMAT		0x00000f00      /* If 1, SPDIF XX uses 24 bit, if 0 - 20 bit	*/
 
 #define AC97SLOT		0x5f            /* additional AC97 slots enable bits		*/
+#define AC97SLOT_10K2		0x03
 #define AC97SLOT_CNTR		0x10            /* Center enable */
 #define AC97SLOT_LFE		0x20            /* LFE enable */
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-25  1:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25  1:29 [PATCH] emu10k1.h James Courtier-Dutton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox