opnsense-src/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 use pcm_getbuffersize() 2001-10-10 17:56:35 +00:00
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 - Added suspend/resume support. 2001-03-29 15:36:31 +00:00
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 Add power on to start sequence for 4.x kernels. 2001-04-19 13:23:50 +00:00
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 update this driver to use new firmware and incorporate many fixes. 2001-05-30 22:38:31 +00:00
csavar.h the turtle beach santacruz implements ac97 eapd in an inverted sense - 2001-06-23 18:00:06 +00:00
ds1-fw.h fix typo 2001-05-30 22:46:40 +00:00
ds1.c When calculating the block size to use for a particular sample rate, 2003-08-23 13:00:48 +00:00
ds1.h yamaha ds1/ds1e pci sound driver - work in progress, mixer and playback only. 2000-05-31 03:21:36 +00:00
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 move buffer size definition to .c file for consistency, and reduce it to 4k 2000-04-05 00:38:00 +00:00
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
maestro.c Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +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 - When acknowledging interrupts, write the value 0xff to the interrupt 2001-01-03 01:32:57 +00:00
neomagic-coeff.h driver for neomagic 256av and 256zx 2000-01-09 08:14:11 +00:00
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 Add another card to the list of Neomagic 256AV's which don't have AC97 2001-04-10 14:28:21 +00:00
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 Add support for the SiS 7018 2001-08-26 19:15:28 +00:00
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 pcm driver for S3 Sonicvibes chipset. 2001-03-19 00:26:41 +00:00