jack-example-tools
jack-example-tools copied to clipboard
zalsa_in/zalsa_out plugins select wrong default resampling quality
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"
Pull request is up: https://github.com/jackaudio/jack-example-tools/pull/95