Date: Mon, 31 Jul 2000 11:20:37 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: gandalf@vilnya.demon.co.uk, multimedia@FreeBSD.ORG, sreid@sea-to-sky.net Subject: Re: State of sound support in 4.1-R ? Message-ID: <200007311520.e6VFKbV22329@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> > - Newpcm doesn't support mmap
>
> this is not.
>
The mmap support is somewhat broken. The way dsp_mmap() tries to figure out
which channel to use is wrong, see the comment in sndmmap(). The format
check in dsp_mmap() prevented me from running quake, quake (or other id games)
does a mmap before setting the format. So it is probably a good idea to
reinitialize the channel to use one of the natural formats instead of returning
a failure.
-lq
PS: I've successfully compiled quake on FreeBSD. If people are interested,
maybe I can make it into a port.
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?200007311520.e6VFKbV22329>
