From: James Courtier-Dutton <James@superbug.co.uk>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: [PATCH] Enables SPDIF output on the Audigy2 Value.
Date: Sun, 13 Feb 2005 16:35:02 +0000 [thread overview]
Message-ID: <420F81B6.8060500@superbug.co.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
It seems to work for PCM, but not AC3 yet.
Signed off: James Courtier-Dutton
[-- Attachment #2: audig2value-spdif-enable.diff.txt --]
[-- Type: text/plain, Size: 868 bytes --]
Index: alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.42
diff -u -r1.42 emu10k1_main.c
--- alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c 29 Nov 2004 14:09:47 -0000 1.42
+++ alsa-driver/alsa-kernel/pci/emu10k1/emu10k1_main.c 13 Feb 2005 16:13:23 -0000
@@ -205,6 +205,15 @@
/* Setup SRCMulti Input Audio Enable */
outl(0x7b0000, emu->port + 0x20);
outl(0xFF000000, emu->port + 0x24);
+
+ /* Setup SPDIF Out Audio Enable */
+ /* The Audigy 2 Value has a separate SPDIF out,
+ * so no need for a mixer switch
+ */
+ outl(0x7a0000, emu->port + 0x20);
+ outl(0xFF000000, emu->port + 0x24);
+ tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */
+ outl(tmp, emu->port + A_IOCFG);
}
next reply other threads:[~2005-02-13 16:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-13 16:35 James Courtier-Dutton [this message]
2005-02-14 15:36 ` [PATCH] Enables SPDIF output on the Audigy2 Value Takashi Iwai
2005-02-14 20:38 ` Lee Revell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=420F81B6.8060500@superbug.co.uk \
--to=james@superbug.co.uk \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.