Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/audio/winmm/
A DSDL_winmm.c169 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in WINMM_PlayDevice()
195 this->hidden->next_buffer = (nextbuf + 1) % NUM_BUFFERS; in WINMM_CaptureFromDevice()
209 this->hidden->next_buffer = (nextbuf + 1) % NUM_BUFFERS; in WINMM_FlushCapture()
222 for (i = 0; i < NUM_BUFFERS; ++i) { in WINMM_CloseDevice()
237 for (i = 0; i < NUM_BUFFERS; ++i) { in WINMM_CloseDevice()
304 for (i = 0; i < NUM_BUFFERS; ++i) in WINMM_OpenDevice()
378 …this->hidden->audio_sem = CreateSemaphore(NULL, iscapture ? 0 : NUM_BUFFERS - 1, NUM_BUFFERS, NULL… in WINMM_OpenDevice()
385 (Uint8 *) SDL_malloc(NUM_BUFFERS * this->spec.size); in WINMM_OpenDevice()
391 for (i = 0; i < NUM_BUFFERS; ++i) { in WINMM_OpenDevice()
A DSDL_winmm.h31 #define NUM_BUFFERS 2 /* -- Don't lower this! */ macro
39 WAVEHDR wavebuf[NUM_BUFFERS]; /* Wave audio fragments */
/AliOS-Things-master/components/SDL2/src/audio/psp/
A DSDL_pspaudio.h30 #define NUM_BUFFERS 2 macro
38 Uint8 *mixbufs[NUM_BUFFERS];
A DSDL_pspaudio.c73 mixlen = this->spec.size * NUM_BUFFERS; in PSPAUDIO_OpenDevice()
94 for (i = 0; i < NUM_BUFFERS; i++) { in PSPAUDIO_OpenDevice()
112 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in PSPAUDIO_PlayDevice()
/AliOS-Things-master/components/SDL2/src/audio/openslES/
A DSDL_openslES.h31 #define NUM_BUFFERS 2 /* -- Don't lower this! */ macro
37 Uint8 *pmixbuff[NUM_BUFFERS];
A DSDL_openslES.c258 …cator_AndroidSimpleBufferQueue loc_bufq = { SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, NUM_BUFFERS }; in openslES_CreatePCMRecorder()
322 audiodata->mixbuff = (Uint8 *) SDL_malloc(NUM_BUFFERS * this->spec.size); in openslES_CreatePCMRecorder()
328 for (i = 0; i < NUM_BUFFERS; i++) { in openslES_CreatePCMRecorder()
340 for (i = 0; i < NUM_BUFFERS; i++) { in openslES_CreatePCMRecorder()
448 …cator_AndroidSimpleBufferQueue loc_bufq = { SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, NUM_BUFFERS }; in openslES_CreatePCMPlayer()
557 audiodata->playsem = SDL_CreateSemaphore(NUM_BUFFERS - 1); in openslES_CreatePCMPlayer()
564 audiodata->mixbuff = (Uint8 *) SDL_malloc(NUM_BUFFERS * this->spec.size); in openslES_CreatePCMPlayer()
570 for (i = 0; i < NUM_BUFFERS; i++) { in openslES_CreatePCMPlayer()
630 if (audiodata->next_buffer >= NUM_BUFFERS) { in openslES_PlayDevice()
683 if (audiodata->next_buffer >= NUM_BUFFERS) { in openslES_CaptureFromDevice()
/AliOS-Things-master/components/SDL2/src/audio/alios/
A DSDL_alios_audio.h16 #define NUM_BUFFERS 2 macro

Completed in 9 milliseconds