summaryrefslogtreecommitdiffstats
path: root/contrib/smbfs
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2003-08-23 13:00:48 +0000
committeriedowse <iedowse@FreeBSD.org>2003-08-23 13:00:48 +0000
commitf55f06a8e780ccafa615fab92e6997be0a320372 (patch)
tree0a5a92f86327e05b9b16db73c231f1c91a5b8eed /contrib/smbfs
parente9326e0b09fccf6fcc7a8cacfc59facea165dde3 (diff)
downloadFreeBSD-src-f55f06a8e780ccafa615fab92e6997be0a320372.zip
FreeBSD-src-f55f06a8e780ccafa615fab92e6997be0a320372.tar.gz
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)
Diffstat (limited to 'contrib/smbfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud