Switch internal sample representation to 24-bit fixed-point.
authorratchov <ratchov@openbsd.org>
Mon, 7 Mar 2022 08:58:33 +0000 (08:58 +0000)
committerratchov <ratchov@openbsd.org>
Mon, 7 Mar 2022 08:58:33 +0000 (08:58 +0000)
commit19e766d9d1bd124bc7b69c7cfef4aa3d613cecc9
tree80d5f2d402c449163da0f97e952b2d0d5e421ad8
parentada90a5b2c4a609a9b698d98b0173b8ee03c34c4
Switch internal sample representation to 24-bit fixed-point.

The default device precision doesn't change (yet), i.e. we still
request the usual 16-bit mode, when available. Hardware supporting
24-bit samples only gets end-to-end 24-bit processing by default.

ok kettenis
usr.bin/sndiod/dsp.h
usr.bin/sndiod/sndiod.8
usr.bin/sndiod/sndiod.c