Searched refs:NUM_BUFFERS (Results 1 – 7 of 7) sorted by relevance
169 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()
31 #define NUM_BUFFERS 2 /* -- Don't lower this! */ macro39 WAVEHDR wavebuf[NUM_BUFFERS]; /* Wave audio fragments */
30 #define NUM_BUFFERS 2 macro38 Uint8 *mixbufs[NUM_BUFFERS];
73 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()
31 #define NUM_BUFFERS 2 /* -- Don't lower this! */ macro37 Uint8 *pmixbuff[NUM_BUFFERS];
258 …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()
16 #define NUM_BUFFERS 2 macro
Completed in 9 milliseconds