freebsd-skq/sys/dev/sound/pci
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
..
als4000.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
als4000.h
au88x0.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
au88x0.h Add (but do not connect) a half-finished driver for Aureal Vortex cards. 2003-06-01 11:58:46 +00:00
aureal.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
aureal.h
cmi.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
cmireg.h
cs4281.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
cs4281.h
csa.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
csamidi.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
csapcm.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
csareg.h
csavar.h
ds1-fw.h
ds1.c When calculating the block size to use for a particular sample rate, 2003-08-23 13:00:48 +00:00
ds1.h
emu10k1.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
es137x.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
es137x.h
fm801.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
ich.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
ich.h Switch from legacy to native mode for ICH4 and ICH5. 2003-08-10 14:57:47 +00:00
maestro3.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
maestro_reg.h
maestro.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
neomagic-coeff.h
neomagic.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
neomagic.h
solo.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
t4dwave.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
t4dwave.h
via82c686.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
via82c686.h Add defines for low power and second codec ready. 2003-03-26 05:35:38 +00:00
via8233.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
via8233.h Perform warm or cold reset AC97 per the spec depending on state of the 2003-04-17 15:04:11 +00:00
vibes.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
vibes.h