Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/audio/android/
A DSDL_androidaudio.c37 static SDL_AudioDevice* captureDevice = NULL; variable
44 SDL_assert((captureDevice == NULL) || !iscapture); in ANDROIDAUDIO_OpenDevice()
48 captureDevice = this; in ANDROIDAUDIO_OpenDevice()
115 SDL_assert(captureDevice == this); in ANDROIDAUDIO_CloseDevice()
116 captureDevice = NULL; in ANDROIDAUDIO_CloseDevice()
165 if(captureDevice != NULL && captureDevice->hidden != NULL) { in ANDROIDAUDIO_PauseDevices()
167 if (SDL_AtomicGet(&captureDevice->paused)) { in ANDROIDAUDIO_PauseDevices()
172 SDL_LockMutex(captureDevice->mixer_lock); in ANDROIDAUDIO_PauseDevices()
173 SDL_AtomicSet(&captureDevice->paused, 1); in ANDROIDAUDIO_PauseDevices()
193 if(captureDevice != NULL && captureDevice->hidden != NULL) { in ANDROIDAUDIO_ResumeDevices()
[all …]

Completed in 3 milliseconds