aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2000-09-05 20:56:31 +0000
committerCameron Grant <cg@FreeBSD.org>2000-09-05 20:56:31 +0000
commit37ab02c0ed2e8255593860390190ef519c365472 (patch)
tree7278a46f99bfb8db5694186a5c85ad622bd646de /sys/dev
parent89817a41223f447b322be88bca9afa62582785cf (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/pcm/sound.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 4bc388eec406..ac5b3571de9a 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -109,13 +109,10 @@ struct isa_device { int dummy; };
/* many variables should be reduced to a range. Here define a macro */
#define RANGE(var, low, high) (var) = \
(((var)<(low))? (low) : ((var)>(high))? (high) : (var))
-/*
-#define DSP_BUFFSIZE (65536 - 256)
-*/
#define DSP_BUFFSIZE (8192)
-/* the last 256 bytes are room for buggy soundcard to overflow. */
/* 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_SIGNED (AFMT_S16_LE | AFMT_S16_BE | AFMT_S8)
#define AFMT_BIGENDIAN (AFMT_S16_BE | AFMT_U16_BE)