Searched refs:next_buffer (Results 1 – 6 of 6) sorted by relevance
98 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()
40 int next_buffer; member
627 …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()
36 int next_buffer; member
159 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()
Completed in 14 milliseconds