This function will be called by a spawned thread when the user callback function signals that the stream should be stopped or aborted. It is necessary to handle it this way because the callbackEvent() function must return before the jack_deactivate() function will return.
| 2896 | // callbackEvent() function must return before the jack_deactivate() |
| 2897 | // function will return. |
| 2898 | static void * jackStopStream(void * ptr) |
| 2899 | { |
| 2900 | CallbackInfo * info = (CallbackInfo *) ptr; |
| 2901 | RtApiJack * object = (RtApiJack *) info->object; |
| 2902 | |
| 2903 | object->stopStream(); |
| 2904 | pthread_exit(NULL); |
| 2905 | } |
| 2906 | |
| 2907 | bool RtApiJack ::callbackEvent(unsigned long nframes) |
| 2908 | { |
nothing calls this directly
no test coverage detected