Home
last modified time | relevance | path

Searched refs:next_buffer (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/src/audio/psp/
A DSDL_pspaudio.c98 this->hidden->next_buffer = 0; in PSPAUDIO_OpenDevice()
104 Uint8 *mixbuf = this->hidden->mixbufs[this->hidden->next_buffer]; in PSPAUDIO_PlayDevice()
112 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in PSPAUDIO_PlayDevice()
122 return this->hidden->mixbufs[this->hidden->next_buffer]; in PSPAUDIO_GetDeviceBuf()
A DSDL_pspaudio.h40 int next_buffer; member
/AliOS-Things-master/components/SDL2/src/audio/openslES/
A DSDL_openslES.c627 …ferQueue)->Enqueue(bqPlayerBufferQueue, audiodata->pmixbuff[audiodata->next_buffer], this->spec.si… in openslES_PlayDevice()
629 audiodata->next_buffer++; in openslES_PlayDevice()
630 if (audiodata->next_buffer >= NUM_BUFFERS) { in openslES_PlayDevice()
631 audiodata->next_buffer = 0; in openslES_PlayDevice()
659 return audiodata->pmixbuff[audiodata->next_buffer]; in openslES_GetDeviceBuf()
673 SDL_memcpy(buffer, audiodata->pmixbuff[audiodata->next_buffer], this->spec.size); in openslES_CaptureFromDevice()
676 …ferQueue)->Enqueue(recorderBufferQueue, audiodata->pmixbuff[audiodata->next_buffer], this->spec.si… in openslES_CaptureFromDevice()
682 audiodata->next_buffer++; in openslES_CaptureFromDevice()
683 if (audiodata->next_buffer >= NUM_BUFFERS) { in openslES_CaptureFromDevice()
684 audiodata->next_buffer = 0; in openslES_CaptureFromDevice()
A DSDL_openslES.h36 int next_buffer; member
/AliOS-Things-master/components/SDL2/src/audio/winmm/
A DSDL_winmm.c159 wavebuf[this->hidden->next_buffer].lpData); in WINMM_GetDeviceBuf()
167 &this->hidden->wavebuf[this->hidden->next_buffer], in WINMM_PlayDevice()
169 this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS; in WINMM_PlayDevice()
175 const int nextbuf = this->hidden->next_buffer; in WINMM_CaptureFromDevice()
195 this->hidden->next_buffer = (nextbuf + 1) % NUM_BUFFERS; in WINMM_CaptureFromDevice()
204 const int nextbuf = this->hidden->next_buffer; in WINMM_FlushCapture()
209 this->hidden->next_buffer = (nextbuf + 1) % NUM_BUFFERS; in WINMM_FlushCapture()
A DSDL_winmm.h40 int next_buffer; member

Completed in 14 milliseconds