On 10/13/22 16:14, Alexandre Ratchov wrote:
On Thu, Oct 13, 2022 at 03:11:50AM +0000, s...@skolma.com wrote:

in summary, audio works.. just not bit-perfectly :)
does anyone know if SNDIO supports such mode ? and how i might configure it.

bit-perfect is practical for one thing only: avoid questionings about
whether the processing adds audible noise & distortion. I've tryed
various hacks, including bypassing sndiod and neither was very
practical.

IMHO, the sndiod resampler covers 99% of the cases. To handle the
remaining 1%, I just resample the files off-line. audio/sox is
excellent for that.

So, I'd suggest you to add "-e s24" to sndiod_flags and resample
off-line when needed.

HTH

There's code in the kernel down through uaudio.c to set sample rates.
audioctl accepts a "rate" argument
sndiod accepts a "rate" argument.
The code in those and libsndio looks reasonable.

If those don't work it's a (fixable) bug/not-yet-implemented.
I've tried those settings with ambiguous results but not failure.
My usb dacs don't have visible indicators & I don't have a
USB protocol sniffer.

In my experience resampling quality in any particular implementation
is not guaranteed and can introduce significant artifacts.
Declaring a particular implementation "good enough" without
knowing more seems premature.

geoff steckel

Reply via email to