On Fri, Mar 12, 2021 at 05:02:00PM +1100, matthew green wrote: > > Modified Files: > > src/share/man/man4: hdaudio.4 > > > > Log Message: > > Mention that formats with >16-bit precision cannot yet be used > > i'm not near a system to test right now, but when i added > support for floating point WAVE files to audioplay, i've > converted from float32 or float64 to signed 32 bit integer, > and then played the 32 bit values... so this does work, or > at least, to worked for me with netbsd-9 + audio/play/play.c > rev 1.59 back in november 2019. > > > .mrg.
The MI audio driver converts 32-bit samples back down to 16-bits before they're output to hdaudio because hdaudio only supports >16-bit formats that aren't a power of two, and the audio layer doesn't handle this. I'll clarify the text.