cvs commit: src/sys/dev/sound version.h src/sys/dev/sound/pci es137x.c src/sys/dev/sound/pcm buffer.c channel.c channel.h dsp.c dsp.h feeder.c feeder_rate.c mixer.c mixer.h sndstat.c sound.c sound.h vchan.c src/sys/dev/sound/usb uaudio.c

Ariff Abdullah ariff at FreeBSD.org
Sat Jun 16 20:22:32 UTC 2007


On Sat, 16 Jun 2007 21:55:59 +0200
Joel Dahl <joel at FreeBSD.org> wrote:
> On Sat, 2007-06-16 at 03:37 +0000, Ariff Abdullah wrote:
> > ariff       2007-06-16 03:37:29 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/dev/sound        version.h 
> >     sys/dev/sound/pci    es137x.c 
> >     sys/dev/sound/pcm    buffer.c channel.c channel.h dsp.c dsp.h 
> >                          feeder.c feeder_rate.c mixer.c mixer.h 
> >                          sndstat.c sound.c sound.h vchan.c 
> >     sys/dev/sound/usb    uaudio.c 
> >   Log:
> >   - New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page
> >     mapping, due to recent changes in linux compatibility layer
> >     which require it. All linux applications that using sound +
> >     mmap() (mostly games) require this to be enabled. Disabled by
> >     default.
> 
> So, sound on several Linux applications (I guess games for the most
> part, like you said) is broken by default now?
> 

Well, for -current and future 7+, unfortunately, yes. But this only
affecting linux binaries that do the mmap() rather than typical read()
/ write(), which is _hopefully_ rare (err.. not quite, perhaps most
but not all linux games do this).

I will not give up 10 years of wisdom just because of this, hence the
sysctl is disabled by default. Please tell me if I'm wrong (with
proper reasoning, not just "please be like linux") so that this can be
enabled by default.



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070616/829f656c/attachment.pgp


More information about the cvs-src mailing list