Date: Tue, 12 Jan 2010 11:11:25 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/sound/pcm dsp.c mixer.c Message-ID: <201001121111.o0CBBbKl041326@repoman.freebsd.org>
index | next in thread | raw e-mail
mav 2010-01-12 11:11:25 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm dsp.c mixer.c
Log:
SVN rev 202150 on 2010-01-12 11:11:25Z by mav
Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P',
as different nearby ones, and was grabbed by MIXER_xxx() handler.
While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expressions
with more correct '(cmd & ~0xff) == MIXER_READ(0)'. Use of bit operations
to compare numeric fields doesn't looks sane.
MFC after: 1 month
Revision Changes Path
1.116 +4 -4 src/sys/dev/sound/pcm/dsp.c
1.67 +28 -38 src/sys/dev/sound/pcm/mixer.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001121111.o0CBBbKl041326>
