Searched hist:"4 f24090354df5ba5965cfed6e50e2c93d798c21e" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdaa.c | diff 4f24090354df5ba5965cfed6e50e2c93d798c21e Mon Jan 23 18:05:11 CET 2012 Alexander Motin <mav@FreeBSD.org> Realtek CODECs declare support for 32bit samples on S/PDIF input/output widgets. I am not sure if S/PDIF supports 32bit samples, but my Marantz SR4001 doesn't, producing only single clicks on playback start/stop. Because HDA controller requires 32bit alignment for all samples above 16bit, we can't handle this situation in regular way and have to set 32bit format in sound(4) for anything above 16bit. To workaround the problem, prefer to setup hardware to use 24/20bit samples when 32bit format requested. Add dev.pcm.X.play.32bit and dev.pcm.X.rec.32bit sysctls to control what format really use for 32bit samples.
MFC after: 2 months Sponsored by: iXsystems, Inc.
|