Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 12:08:18 +0600 (NOVT)
From:      "Nickolay Dudorov" <nnd@mail.nsk.ru>
To:        multimedia@freebsd.org
Cc:        "Eugene M. Kim" <ab@astralblue.net>
Subject:   Re: au88x0 driver with -current
Message-ID:  <200101060608.f0668I354623@wint.itfs.nsk.su>
In-Reply-To: <Pine.BSF.4.21.0101052047160.71357-100000@home.astralblue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.21.0101052047160.71357-100000@home.astralblue.com> you wrote:
> I've been having troubles making Alexander's Aureal Vortex newpcm driver
> (au88x0) work on latest -currents.  It seems that there have been a
> change made to the main newpcm code around Dec 23, which made the au88x0
> driver incompatible yet again.  I'm using the latest driver kit (version
> 1.4) obtained from http://www.cis.ohio-state.edu/~matey/au88x0/.
> 
> Did anyone have a luck to make it work again (e.g. patches)?

	Ny Vortex2 (au8830) works in -current with the next patch:

--- au88x0.c.ORIG	Sat Jan  6 11:59:25 2001
+++ au88x0.c	Sat Jan  6 11:59:30 2001
@@ -571,9 +571,8 @@
 	ch->parent = au;
 	ch->channel = c;
 	ch->buffer = b;
-	ch->buffer->bufsize = AU_BUFFSIZE;
-	if (chn_allocbuf(ch->buffer, au->parent_dmat) == -1) {
-		printf("chn_allocbuf failed\n");
+	if (sndbuf_alloc(ch->buffer, au->parent_dmat, AU_BUFFSIZE) == -1) {
+		printf("sndbuff_alloc failed\n");
 		return NULL;
 	}
 	ch->count = ch->chunk = ch->total = 0;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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