From owner-freebsd-multimedia Fri Jan 5 22: 8:27 2001 From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 5 22:08:25 2001 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 05BB637B400 for ; Fri, 5 Jan 2001 22:08:24 -0800 (PST) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.1/8.11.1) id f0668I354623; Sat, 6 Jan 2001 12:08:18 +0600 (NOVT) (envelope-from nnd) Date: Sat, 6 Jan 2001 12:08:18 +0600 (NOVT) Message-Id: <200101060608.f0668I354623@wint.itfs.nsk.su> From: "Nickolay Dudorov" To: multimedia@freebsd.org Cc: "Eugene M. Kim" Subject: Re: au88x0 driver with -current In-Reply-To: User-Agent: tin/1.5.8-20001218 ("Paradise Regained") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: nnd@wint.itfs.nsk.su Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article 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