From a618cffeb85ef22f1998cbe1c0c56636bb1f9545 Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Wed, 26 Apr 2000 23:08:12 +0000 Subject: [PATCH] duh, i forgot to change a bitmask, sorry alexander Submitted by: Alexander Matey --- sys/dev/sound/pcm/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 05fde821d2d8..19634cd9f84c 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))