On Thu, Oct 25, 2012 at 05:23:28PM +0200, Robin Gareus wrote:
Classic race condition. The jack_client is activated
before the
resampler is initialized.
zita-j2a.cc:200 creates the jack-client and calls jack_activate.
process_callbacks can arrive starting now.
but not until zita-j2a.cc:211 calls J->start() the data-structures
required to do the processing are initialized.
Easiest solution is probably to check if start() has been called in the
process callback:
The code to do that is already present: jackclient:cc line 311.
There must be some other problem.
Ciao,
--
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)