This function will be called by a spawned thread when the Jack server signals that it is shutting down. It is necessary to handle it this way because the jackShutdown() function must return before the jack_deactivate() function (in closeStream()) will return.
| 2388 | // it this way because the jackShutdown() function must return before |
| 2389 | // the jack_deactivate() function (in closeStream()) will return. |
| 2390 | static void * jackCloseStream(void * ptr) |
| 2391 | { |
| 2392 | CallbackInfo * info = (CallbackInfo *) ptr; |
| 2393 | RtApiJack * object = (RtApiJack *) info->object; |
| 2394 | |
| 2395 | object->closeStream(); |
| 2396 | |
| 2397 | pthread_exit(NULL); |
| 2398 | } |
| 2399 | static void jackShutdown(void * infoPointer) |
| 2400 | { |
| 2401 | CallbackInfo * info = (CallbackInfo *) infoPointer; |
nothing calls this directly
no test coverage detected