fix a typo

This commit is contained in:
cg 2000-12-23 05:16:39 +00:00
parent 60c302e7c6
commit 2386a8e31f

View File

@ -1257,7 +1257,7 @@ chn_setblocksize(pcm_channel *c, int blkcnt, int blksz)
blksz >>= 1;
/* round down to fit hw buffer size */
RANGE(blksz, 16, b->bufsize / 2);
RANGE(blksz, 16, b->maxsize / 2);
b->blksz = CHANNEL_SETBLOCKSIZE(c->methods, c->devinfo, blksz);