jack-example-tools icon indicating copy to clipboard operation
jack-example-tools copied to clipboard

zalsa_in/zalsa_out plugins select wrong default resampling quality

Open farshield opened this issue 10 months ago • 1 comments

There's a bug in the default resampling quality selection. This happens when the user does not specify the quality explicitly using the command-line flag -Q:

jack_load usb_in zalsa_in -i "-d hw:USB -r 48000 -p 256 -n 3"

Instead of relying on the automatic calculation (based on the sampling rate of the Jack server), it always defaults to 16.

For a Jack server running at 48 kHz, the default resampling quality should be 32, as is the case with the zita-ajbridge tools. For 44.1 kHz, it should be 48, and so on.

To work around this, the user has to explicitly set the quality:

jack_load usb_in zalsa_in -i "-d hw:USB -r 48000 -p 256 -n 3 -Q 32"

farshield avatar Feb 01 '25 10:02 farshield

Pull request is up: https://github.com/jackaudio/jack-example-tools/pull/95

farshield avatar Feb 01 '25 10:02 farshield