The following patch set will extend the JACK plugin to detect Xruns and signal them to the user application. This patch set is depending on http://mailman.alsa-project.org/pipermail/alsa-devel/2018-January/130987.html