Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 11:00:53 +0400
From:      "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
To:        <obrien@FreeBSD.org>, "Orion Hodson" <orion@FreeBSD.org>
Cc:        sound@FreeBSD.org
Subject:   RE: Audigy
Message-ID:  <C192C8912E798F4399668791C8965190674E32@mx.hhp.local>

next in thread | raw e-mail | index | archive | help
> > /-- "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.
> > |=20
> > | So how do we move forward?
> >=20
> > Orlando Bassotto, one of the Audigy code submitters, has=20
> taken on the task of=20
>=20
> Here is the previously posted Orlando diff, updated for today's
> 5-CURRENT.  I am able to play mp3's with this patch
>=20

if you replace=20
@@ -1262,6 +1568,12 @@
 	emu_wrptr(sc, 0, SOLEL, 0);
 	emu_wrptr(sc, 0, SOLEH, 0);
=20
+	/* wonder what these do... */
+	if (sc->audigy) {
+		emu_wrptr(sc, 0, SPBYPASS, 0xf00);
+		emu_wrptr(sc, 0, AC97SLOT, 0x3);
+	}
+
 	/* init envelope engine */
 	for (ch =3D 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);
=20
+	/* 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 =3D 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.=20

Yuriy Tsibizov,
http://chibis.persons.gfk.ru/audigy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C192C8912E798F4399668791C8965190674E32>