Searched refs:write_pos (Results 1 – 1 of 1) sorted by relevance
99 int write_pos; /* position in current writable buffer */ member247 s->write_pos = 0; in winaudio_out_init()272 int wav_bytes = (s->write_size - s->write_pos); in winaudio_out_run()276 uint8_t* dst = (uint8_t*)wav_buffer->lpData + s->write_pos; in winaudio_out_run()293 s->write_pos += wav_bytes; in winaudio_out_run()294 if (s->write_pos == s->write_size) { in winaudio_out_run()304 s->write_pos = 0; in winaudio_out_run()