diff options
| author | Orion Hodson <orion@FreeBSD.org> | 2001-09-03 00:45:00 +0000 |
|---|---|---|
| committer | Orion Hodson <orion@FreeBSD.org> | 2001-09-03 00:45:00 +0000 |
| commit | 167d1bcd1933a4b490b4d46cbb9397df9803f0d4 (patch) | |
| tree | 1ba080fa795215541bc71a570822633adfa74745 /sys | |
| parent | de08586125ca490674775e851b2f891c2a121746 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/sound/pci/als4000.c | 2 | ||||
| -rw-r--r-- | sys/dev/sound/pci/cmi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/als4000.c b/sys/dev/sound/pci/als4000.c index a55447936b2a..3d1099a26b79 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 diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c index 6b6b0e76d186..75b8cef9307e 100644 --- a/sys/dev/sound/pci/cmi.c +++ b/sys/dev/sound/pci/cmi.c @@ -441,7 +441,7 @@ cmichan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) } sndbuf_resize(ch->buffer, CMI_INTR_PER_BUFFER, blocksize); - return sndbuf_getsize(ch->buffer); + return blocksize; } static int |
