Subject: Re: a mmap'able audio device??
To: Lennart Augustsson <augustss@cs.chalmers.se>
From: Brett Lymn <blymn@awadi.com.AU>
List: tech-kern
Date: 03/05/1996 13:29:31
According to Lennart Augustsson:
>
>An mmap'ed audio driver sounds pretty weird to me.  Yes, you can
>make use of it to reduce the kernel/user data transfer, but you
>can do that the other way around.  I usually mmap the file to play
>and then do a write of the whole file.
>

Lennart, don't take this personally, but this is the problem with the
NetBSD 1.1 audio drivers.  The driver works fine if you just blast all
the data at the audio device at once, it breaks if you try and do what
some games expect, that is, write blocks of data continuously.

If we can, it would be good to get the dma sound device in there and
compatiable with the Linux one since it will mean things like the
Quake sound server will work....

-- 
Brett Lymn, Computer Systems Administrator, AWA Defence Industries
===============================================================================
  "Upgrading your memory gives you MORE RAM!" - ad in MacWAREHOUSE catalogue.