Date: Fri, 6 May 2011 09:00:08 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org, multimedia@freebsd.org Cc: Andriy Gapon <avg@freebsd.org> Subject: Re: dsp mmap change Message-ID: <201105060900.08672.jhb@freebsd.org> In-Reply-To: <4DC3B764.4030801@FreeBSD.org> References: <4DC3B764.4030801@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, May 06, 2011 4:55:00 am Andriy Gapon wrote: > > I would like to ask for a review and/or testing of the following patch: > http://people.freebsd.org/~avg/dev_dsp_mmap.diff > > It's supposed to fix an issue described here: > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011- February/011691.html > > In short, the following pseudo-code should do the right thing: > fd = open(/dev/dsp, O_RDWR); > mmap(PROT_READ, fd); > mmap(PROT_WRITE, fd); Are the buffers statically allocated? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105060900.08672.jhb>