Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audio.c34 static SDL_AudioDevice *open_devices[16]; variable
206 if ((id >= SDL_arraysize(open_devices)) || (open_devices[id] == NULL)) { in get_audio_device()
211 return open_devices[id]; in get_audio_device()
547 device = open_devices[device_index]; in SDL_RemoveAudioDevice()
954 SDL_zeroa(open_devices); in SDL_AudioInit()
1244 if (open_devices[id] == NULL) { in open_audio_device()
1249 if (id == SDL_arraysize(open_devices)) { in open_audio_device()
1284 if ((open_devices[i]) && (open_devices[i]->iscapture)) { in open_audio_device()
1297 if ((open_devices[i]) && (!open_devices[i]->iscapture)) { in open_audio_device()
1476 if (open_devices[0] != NULL) { in SDL_OpenAudio()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m286 static SDL_AudioDevice **open_devices;
296 if (!open_devices) {
301 SDL_AudioDevice *device = open_devices[i];
312 if (!open_devices) {
317 SDL_AudioDevice *device = open_devices[i];
698 if (open_devices[i] == this) {
701 … SDL_memmove(&open_devices[i], &open_devices[i+1], sizeof(open_devices[i])*(num_open_devices - i));
707 SDL_free(open_devices);
708 open_devices = NULL;
1033 …new_open_devices = (SDL_AudioDevice **)SDL_realloc(open_devices, sizeof(open_devices[0]) * (num_op…
[all …]

Completed in 7 milliseconds