diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2000-04-26 23:08:12 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2000-04-26 23:08:12 +0000 |
| commit | a618cffeb85ef22f1998cbe1c0c56636bb1f9545 (patch) | |
| tree | bd7dd8e16b1ffe1e2157dec627d6d6a8d7e3ea53 | |
| parent | 3daa19c0bbfde23f834e60884270dfcadb5e1c48 (diff) | |
Notes
| -rw-r--r-- | sys/dev/sound/pcm/sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
