| 8958 | } |
| 8959 | |
| 8960 | static void *pulseaudio_callback(void *user) |
| 8961 | { |
| 8962 | CallbackInfo *cbi = static_cast<CallbackInfo *>(user); |
| 8963 | RtApiPulse *context = static_cast<RtApiPulse *>(cbi->object); |
| 8964 | volatile bool *isRunning = &cbi->isRunning; |
| 8965 | |
| 8966 | while (*isRunning) |
| 8967 | { |
| 8968 | pthread_testcancel(); |
| 8969 | context->callbackEvent(); |
| 8970 | } |
| 8971 | |
| 8972 | pthread_exit(NULL); |
| 8973 | } |
| 8974 | |
| 8975 | void RtApiPulse::closeStream(void) |
| 8976 | { |
nothing calls this directly
no test coverage detected