From owner-freebsd-multimedia Sun Jul 20 10:43:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA26043 for multimedia-outgoing; Sun, 20 Jul 1997 10:43:59 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA26038 for ; Sun, 20 Jul 1997 10:43:56 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id KAA04918; Sun, 20 Jul 1997 10:43:45 -0700 (PDT) Message-Id: <199707201743.KAA04918@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: brianc@pobox.com (Brian Campbell), freebsd-multimedia@FreeBSD.ORG Subject: Re: dma handling in the sound driver In-reply-to: Your message of "Sun, 20 Jul 1997 09:11:51 +0200." <199707200711.JAA19743@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Jul 1997 10:43:45 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi Guys, I understand Luigi's position given that I had to dig into the code and understand it. Simplication of the dma code is a very important step towards having having a stable sound driver and for future support by others. Have fun, Amancio >From The Desk Of Luigi Rizzo : > > On Sat, Jul 19, 1997 at 04:37:50PM +0200, Luigi Rizzo wrote: > > > I have planned to rewrite the dma buffer handling routines for > > > the sound driver as follows. > > > > Why? > > > > Is the current mechanism insufficient? I thought changes were only > > requried for full-duplex operation. > > > > There is a mechanism for setting the size and number of DMA buffers, > > is there not? Will this be removed, or the settings simply ignored? > > the main problem I have is that I find the dma code quite complex to > follow and understand (as all code which has been evolving for a long > time and adapting to new boards etc.). The scheme I have described is, > in my opinion, simpler and more effective with respect to latency. > > Maybe it's just my problem but since I am doing the work I'll do it in > the way I find more effective. > > Plus I'll document it ! > > Cheers > Luigi