diff options
author | cg <cg@FreeBSD.org> | 2000-09-05 20:56:31 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-09-05 20:56:31 +0000 |
commit | d76980428d67a68474112ed4413fd38db383080d (patch) | |
tree | 9286b4e32d9b5a7b74da1c0ec612f2451e4b150b /sys | |
parent | f7c8729376e88e20592b943f196811ea292526a7 (diff) | |
download | FreeBSD-src-d76980428d67a68474112ed4413fd38db383080d.zip FreeBSD-src-d76980428d67a68474112ed4413fd38db383080d.tar.gz |
tidy up a little, add a mask for 32bit formats
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/sound.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index 4bc388e..ac5b357 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) |