summaryrefslogtreecommitdiff
path: root/sys/dev/sound/isa/mss.c
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2000-01-01 21:50:20 +0000
committerCameron Grant <cg@FreeBSD.org>2000-01-01 21:50:20 +0000
commit43607766d6b9bdd602dc7662d1d27612a5be32a6 (patch)
tree520c0d62574bfd45a87720fb132bfe3296275e60 /sys/dev/sound/isa/mss.c
parentbbc94f571c9dc08b8a6ec3611b223ad92e0b3353 (diff)
Notes
Diffstat (limited to 'sys/dev/sound/isa/mss.c')
-rw-r--r--sys/dev/sound/isa/mss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c
index e8a9e5cc6a2d..17ec66e53baf 100644
--- a/sys/dev/sound/isa/mss.c
+++ b/sys/dev/sound/isa/mss.c
@@ -39,6 +39,7 @@
#include "midi.h"
#endif /* notyet */
+#define MSS_BUFFSIZE (65536 - 256)
#define abs(x) (((x) < 0) ? -(x) : (x))
struct mss_info;
@@ -1679,7 +1680,7 @@ msschan_init(void *devinfo, snd_dbuf *b, pcm_channel *c, int dir)
ch->parent = mss;
ch->channel = c;
ch->buffer = b;
- ch->buffer->bufsize = DSP_BUFFSIZE;
+ ch->buffer->bufsize = MSS_BUFFSIZE;
if (chn_allocbuf(ch->buffer, mss->parent_dmat) == -1) return NULL;
return ch;
}