diff options
Diffstat (limited to 'sys/dev/sound/pci/als4000.c')
-rw-r--r-- | sys/dev/sound/pci/als4000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/als4000.c b/sys/dev/sound/pci/als4000.c index a554479..3d1099a2 100644 --- a/sys/dev/sound/pci/als4000.c +++ b/sys/dev/sound/pci/als4000.c @@ -251,7 +251,7 @@ alschan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) blocksize = ALS_BUFFER_SIZE / 2; } sndbuf_resize(ch->buffer, 2, blocksize); - return sndbuf_getsize(ch->buffer); + return blocksize; } static int |