1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00
freebsd/sys/dev/sound
Ian Dowse 3944d0ff35 When calculating the block size to use for a particular sample rate,
round the result up to a multiple of 4 bytes so that it will always
be a multiple of the sample size. Also use the actual buffer size
from sc->bufsz instead of the default DS1_BUFFSIZE.

This fixes panics and bad distortion I have seen on Yamaha DS-1
hardware, mainly when playing certain Real Audio media.

Reviewed by:	orion (an earlier version of the patch)
2003-08-23 13:00:48 +00:00
..
isa Mega busdma API commit. 2003-07-01 15:52:06 +00:00
midi Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
pci When calculating the block size to use for a particular sample rate, 2003-08-23 13:00:48 +00:00
pcm Fix an off-by-one error in feed_monotostereo16() that caused the 2003-08-23 12:18:30 +00:00
usb Mega busdma API commit. 2003-07-01 15:52:06 +00:00
chip.h
driver.c