jackclient-python icon indicating copy to clipboard operation
jackclient-python copied to clipboard

negative xrun times

Open swapan-g opened this issue 4 years ago • 4 comments
trafficstars

Hello I am running the chatty client demo. the Xrun call back is producing negative values e.g. xrun; delay -274886000640.0 microseconds

This clearly makes no sense.... There is no audible artifacts in the audio stream

I am running Ubuntu 20.04.2

swapan-g avatar Feb 01 '21 22:02 swapan-g

Yeah, not only is it negative, it's also about 76 hours, which doesn't seem like a typical delay value ...

Maybe that's some kind of integer overflow error?

I don't think this is caused by the Python wrapper, the value comes directly from the JACK library (using the jack_get_xrun_delayed_usecs() function).

You should probably ask this to the JACK developers: https://jackaudio.org/community.html?

mgeier avatar Feb 02 '21 18:02 mgeier

Thanks I will inquire there. For what it's worth: I also noticed values are the same magnitude but opposite in sign as the 'usecs' output when jack_showtime. Also the values produces by the Xrun callback continually increase..

swapan-g avatar Feb 02 '21 19:02 swapan-g

@swapan-g Any news on this?

mgeier avatar May 25 '21 17:05 mgeier

No never learned anymore...

swapan-g avatar May 25 '21 18:05 swapan-g