summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2000-04-26 23:08:12 +0000
committercg <cg@FreeBSD.org>2000-04-26 23:08:12 +0000
commitdc9d94db23c723fc06306a70505c702ca6b5485f (patch)
treeaef087d087f08bab823bb8933021ff693d6074ff
parentab2eeca3d66e998744407b069c6878fe60936700 (diff)
downloadFreeBSD-src-dc9d94db23c723fc06306a70505c702ca6b5485f.zip
FreeBSD-src-dc9d94db23c723fc06306a70505c702ca6b5485f.tar.gz
duh, i forgot to change a bitmask, sorry alexander
Submitted by: Alexander Matey <matey@cis.ohio-state.edu>
-rw-r--r--sys/dev/sound/pcm/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index 05fde82..19634cd 100644
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -79,7 +79,7 @@ nomenclature:
*/
#define PCMMINOR(x) (minor(x))
-#define PCMCHAN(x) ((PCMMINOR(x) & 0x0000ff00) >> 16)
+#define PCMCHAN(x) ((PCMMINOR(x) & 0x00ff0000) >> 16)
#define PCMUNIT(x) ((PCMMINOR(x) & 0x000000f0) >> 4)
#define PCMDEV(x) (PCMMINOR(x) & 0x0000000f)
#define PCMMKMINOR(u, d, c) ((((c) & 0xff) << 16) | (((u) & 0x0f) << 4) | ((d) & 0x0f))
OpenPOWER on IntegriCloud