Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/audio/android/
A DSDL_androidaudio.c36 static SDL_AudioDevice* audioDevice = NULL; variable
45 SDL_assert((audioDevice == NULL) || iscapture); in ANDROIDAUDIO_OpenDevice()
50 audioDevice = this; in ANDROIDAUDIO_OpenDevice()
118 SDL_assert(audioDevice == this); in ANDROIDAUDIO_CloseDevice()
119 audioDevice = NULL; in ANDROIDAUDIO_CloseDevice()
152 if(audioDevice != NULL && audioDevice->hidden != NULL) { in ANDROIDAUDIO_PauseDevices()
154 if (SDL_AtomicGet(&audioDevice->paused)) { in ANDROIDAUDIO_PauseDevices()
159 SDL_LockMutex(audioDevice->mixer_lock); in ANDROIDAUDIO_PauseDevices()
160 SDL_AtomicSet(&audioDevice->paused, 1); in ANDROIDAUDIO_PauseDevices()
184 if(audioDevice != NULL && audioDevice->hidden != NULL) { in ANDROIDAUDIO_ResumeDevices()
[all …]
/AliOS-Things-master/components/a2sa/src/driver/core/
A Daudio_card.c121 if(!pcm_dev->audioDevice) { in audio_card_remove_pcm_dev()
122 pcm_dev->audioDevice = audio_get_device(pcm_dev->name); in audio_card_remove_pcm_dev()
124 if(!pcm_dev->audioDevice) { in audio_card_remove_pcm_dev()
128 ret = audio_unregister_device(pcm_dev->audioDevice); in audio_card_remove_pcm_dev()
/AliOS-Things-master/components/a2sa/internal/driver/core/
A Dpcm_dev.h40 audio_device_t *audioDevice; member

Completed in 8 milliseconds