Audigy
Yuriy Tsibizov
Yuriy.Tsibizov at gfk.ru
Mon Apr 21 00:01:11 PDT 2003
> > /-- "David O'Brien" wrote:
> > | On Fri, Feb 21, 2003 at 02:21:42PM -0800, Orion Hodson wrote:
> > | > The project has had two drivers submitted for Audigy support in the
> > | > past couple of weeks. I've been holding off looking at them as cg's
> > | > really the man for the job. However, as I've found out today cg's
> > | > been ill of late and has plenty of things going on externally at
> > | > present.
> > |
> > | So how do we move forward?
> >
> > Orlando Bassotto, one of the Audigy code submitters, has
> taken on the task of
>
> Here is the previously posted Orlando diff, updated for today's
> 5-CURRENT. I am able to play mp3's with this patch
>
if you replace
@@ -1262,6 +1568,12 @@
emu_wrptr(sc, 0, SOLEL, 0);
emu_wrptr(sc, 0, SOLEH, 0);
+ /* wonder what these do... */
+ if (sc->audigy) {
+ emu_wrptr(sc, 0, SPBYPASS, 0xf00);
+ emu_wrptr(sc, 0, AC97SLOT, 0x3);
+ }
+
/* init envelope engine */
for (ch = 0; ch < NUM_G; ch++) {
emu_wrptr(sc, ch, DCYSUSV, ENV_OFF);
with
@@ -1262,6 +1568,12 @@
emu_wrptr(sc, 0, SOLEL, 0);
emu_wrptr(sc, 0, SOLEH, 0);
+ /* wonder what these do... */
+ if (sc->audigy) {
+ emu_wrptr(sc, 0, SPBYPASS, 0xf00);
+ emu_wrptr(sc, 0, AC97SLOT, 0x40 | AC97SLOT_CNTR | AC97SLOT_LFE | 0x02 | 0x01);
+ }
+
/* init envelope engine */
for (ch = 0; ch < NUM_G; ch++) {
emu_wrptr(sc, ch, DCYSUSV, ENV_OFF);
you will be able to listen to mp3s from AudigyDrive headphones (and possible from S/PDIF connectors). I'm not shure about AC97SLOT_CNTR and AC97SLOT_LFE, but 0x40 enables my AudigyDrive.
Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy
More information about the freebsd-multimedia
mailing list