Re: [Jack-Devel] Stopping jack from callback
On Thu, Aug 15, 2013 at 2:31 PM, Anders Tornvig <[hidden]>wrote:
> Yes ok, then I still have to check on the m-variable. Jack wouldn't happen
> to have a thread-safe "isactive(client)" function?
>
Nope. JACK does its audio thing, and threading is left to the client. I've
been digging around in RT safe threading mechanisms for audio programs for
a while now... and decided on one system that works for me.
Tutorial style code for passing "Event" classes through a ringbuffer:
https://github.com/harryhaaren/realtimeAudioThreading
More in-depth search for the right method of RT messaging / memory handling:
https://github.com/harryhaaren/fypRealtimeCppPrograming
Also I'm collecting audio programming example code using JACK / linux in
the following repo:
https://github.com/harryhaaren/openAudioProgrammingTutorials
HTH, -Harry
1376576011.18785_0.ltw:2,a <CAKudYbP31RQ5dgQZsr17+CCotSGhL--N=PdV4eoCbE3gbP+_yQ at mail dot gmail dot com>