Searched refs:audio_buf_index (Results 1 – 1 of 1) sorted by relevance
249 int audio_buf_index; /* in bytes */ member2463 if (is->audio_buf_index >= is->audio_buf_size) { in sdl_audio_callback()2474 is->audio_buf_index = 0; in sdl_audio_callback()2476 len1 = is->audio_buf_size - is->audio_buf_index; in sdl_audio_callback()2480 memcpy(stream, (uint8_t *)is->audio_buf + is->audio_buf_index, len1); in sdl_audio_callback()2484 …SDL_MixAudioFormat(stream, (uint8_t *)is->audio_buf + is->audio_buf_index, AUDIO_S16SYS, len1, is-… in sdl_audio_callback()2488 is->audio_buf_index += len1; in sdl_audio_callback()2490 is->audio_write_buf_size = is->audio_buf_size - is->audio_buf_index; in sdl_audio_callback()2671 is->audio_buf_index = 0; in stream_component_open()