From: Lars L. <lar...@gm...> - 2006-05-31 19:44:02
|
Here's a tiny patch that changes a pthread_mutex_lock() call in the JACK process callback in Zyn to pthread_mutex_trylock() and fills the output buffers with 0 samples if it can't acquire the mutex. It means that instead of getting kicked from the JACK graph when the mutex is locked (which happens quite often for me when loading instruments) you will get a short audio glitch. Still not optimal, but getting rid of the glitch altogether would require some redesigning. The patch applies to Zyn 2.2.1 with the LASH + JACK MIDI patch. It does not apply to unpatched Zyn 2.2.1. http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1498438&group_= id=3D62934&atid=3D502314 --=20 Lars Luthman - please encrypt any email sent to me if possible PGP key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x04C77E2E Fingerprint: FCA7 C790 19B9 322D EB7A E1B3 4371 4650 04C7 7E2E |