MCPcopy Create free account
hub / github.com/LabSound/LabSound / jackCallbackHandler

Function jackCallbackHandler

src/backends/RtAudio/RtAudio.cpp:2376–2384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2374}
2375
2376static int jackCallbackHandler(jack_nframes_t nframes, void * infoPointer)
2377{
2378 CallbackInfo * info = (CallbackInfo *) infoPointer;
2379
2380 RtApiJack * object = (RtApiJack *) info->object;
2381 if (object->callbackEvent((unsigned long) nframes) == false) return 1;
2382
2383 return 0;
2384}
2385
2386// This function will be called by a spawned thread when the Jack
2387// 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