MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / jackCallbackHandler

Function jackCallbackHandler

examples/TinyAudio/RtAudio.cpp:2281–2289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2279}
2280
2281static int jackCallbackHandler(jack_nframes_t nframes, void *infoPointer)
2282{
2283 CallbackInfo *info = (CallbackInfo *)infoPointer;
2284
2285 RtApiJack *object = (RtApiJack *)info->object;
2286 if (object->callbackEvent((unsigned long)nframes) == false) return 1;
2287
2288 return 0;
2289}
2290
2291// This function will be called by a spawned thread when the Jack
2292// server signals that it is shutting down. It is necessary to handle

Callers

nothing calls this directly

Calls 1

callbackEventMethod · 0.80

Tested by

no test coverage detected