Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2011 11:55:00 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        current@FreeBSD.org, multimedia@FreeBSD.org
Subject:   dsp mmap change
Message-ID:  <4DC3B764.4030801@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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);

Thank you!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC3B764.4030801>