Home
last modified time | relevance | path

Searched refs:iosem (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/audio/jack/
A DSDL_jackaudio.c154 SDL_SemPost(this->hidden->iosem); /* unblock the SDL thread. */ in jackShutdownCallback()
187 SDL_SemPost(this->hidden->iosem); /* tell SDL thread we're done; refill the buffer. */ in jackProcessPlaybackCallback()
197 if (SDL_SemWait(this->hidden->iosem) == -1) { in JACK_WaitDevice()
233 SDL_SemPost(this->hidden->iosem); /* tell SDL thread we're done; new buffer is ready! */ in jackProcessCaptureCallback()
243 if (SDL_SemWait(this->hidden->iosem) == -1) { in JACK_CaptureFromDevice()
254 SDL_SemWait(this->hidden->iosem); in JACK_FlushCapture()
276 if (this->hidden->iosem) { in JACK_CloseDevice()
277 SDL_DestroySemaphore(this->hidden->iosem); in JACK_CloseDevice()
350 this->hidden->iosem = SDL_CreateSemaphore(0); in JACK_OpenDevice()
351 if (!this->hidden->iosem) { in JACK_OpenDevice()
A DSDL_jackaudio.h34 SDL_sem *iosem; member

Completed in 3 milliseconds