Searched refs:buffer_queue (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audio.c | 574 dequeued = SDL_ReadFromDataQueue(device->buffer_queue, stream, len); in SDL_BufferQueueDrainCallback() 579 SDL_assert(SDL_CountDataQueue(device->buffer_queue) == 0); in SDL_BufferQueueDrainCallback() 597 SDL_WriteToDataQueue(device->buffer_queue, stream, len); in SDL_BufferQueueFillCallback() 616 rc = SDL_WriteToDataQueue(device->buffer_queue, data, len); in SDL_QueueAudio() 637 rc = (Uint32) SDL_ReadFromDataQueue(device->buffer_queue, data, len); in SDL_DequeueAudio() 657 retval = (Uint32) SDL_CountDataQueue(device->buffer_queue); in SDL_GetQueuedAudioSize() 677 SDL_ClearDataQueue(device->buffer_queue, SDL_AUDIOBUFFERQUEUE_PACKETLEN * 2); in SDL_ClearQueuedAudio() 1149 SDL_FreeDataQueue(device->buffer_queue); in close_audio_device() 1415 device->buffer_queue = SDL_NewDataQueue(SDL_AUDIOBUFFERQUEUE_PACKETLEN, obtained->size * 2); in open_audio_device() 1416 if (!device->buffer_queue) { in open_audio_device()
|
A D | SDL_sysaudio.h | 166 SDL_DataQueue *buffer_queue; member
|
Completed in 5 milliseconds