From owner-freebsd-multimedia Mon Jul 31 8:28: 5 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id A6AED37BC1B for ; Mon, 31 Jul 2000 08:27:53 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.10.1/8.10.1) id e6VFKbV22329; Mon, 31 Jul 2000 11:20:37 -0400 (EDT) Date: Mon, 31 Jul 2000 11:20:37 -0400 (EDT) From: Luoqi Chen Message-Id: <200007311520.e6VFKbV22329@lor.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 ? Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > - 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