[Jack-Devel] [patch] Fix bug with alsa_in/alsa_out latency

Xavier Mendez me at jmendeth.com
Wed Jun 22 18:33:37 CEST 2016


Hello,

Here's a quick fix for alsa_in and alsa_out, which currently set the 
playback latency of their ports to the target delay, but forget to 
convert this delay to JACK frames. See PR for more info.

https://github.com/jackaudio/jack2/pull/215
https://github.com/jackaudio/tools/pull/8

Also convert the result of jack_frames_since_cycle_start() into ALSA 
frames, before subtracting it from the delay for the controller.

Note that this change only has effect if ALSA and JACK sample rates 
differ, otherwise the behavior stays the same.

Xavi



More information about the Jackaudio mailing list