From 4e2e565cbdfe473f06b16b7b142294625790e85f Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Mon, 6 Nov 2000 22:22:52 +0000 Subject: [PATCH] add AFMT_8BIT for easier determination of formats --- sys/dev/sound/pcm/sound.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index ac5b3571de9..b5745c68e34 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -114,6 +114,7 @@ struct isa_device { int dummy; }; /* make figuring out what a format is easier. got AFMT_STEREO already */ #define AFMT_32BIT (AFMT_S32_LE | AFMT_S32_BE | AFMT_U32_LE | AFMT_U32_BE) #define AFMT_16BIT (AFMT_S16_LE | AFMT_S16_BE | AFMT_U16_LE | AFMT_U16_BE) +#define AFMT_8BIT (AFMT_U8 | AFMT_S8) #define AFMT_SIGNED (AFMT_S16_LE | AFMT_S16_BE | AFMT_S8) #define AFMT_BIGENDIAN (AFMT_S16_BE | AFMT_U16_BE)