Date: Mon, 31 Jul 2000 17:06:08 +0100 From: "Cameron Grant" <gandalf@vilnya.demon.co.uk> To: "Luoqi Chen" <luoqi@watermarkgroup.com>, <multimedia@FreeBSD.ORG>, <sreid@sea-to-sky.net> Subject: Re: State of sound support in 4.1-R ? Message-ID: <003501bffb09$404f4ec0$0504020a@haveblue> References: <200007311520.e6VFKbV22329@lor.watermarkgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
actually, the comment for sndmmap() is wrong. the oss spec defines the mmap
protection flags as the method of selecting the read or write buffer so we
comply with that, but for a vm issue.
mmap prior to setting the format should work, if it doesn't i'd be
interested in seeing the code that is trying to do this and failing.
-cg
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?003501bffb09$404f4ec0$0504020a>
