Searched refs:read_pos (Results 1 – 2 of 2) sorted by relevance
351 int read_pos; member499 s->read_pos = 0; in winaudio_in_init()532 int wav_bytes = (s->read_size - s->read_pos); in winaudio_in_run()536 uint8_t* src = (uint8_t*)wav_buffer->lpData + s->read_pos; in winaudio_in_run()545 __FUNCTION__, s->read_index, s->read_pos, s->read_size, wav_samples, wav_bytes, live, in winaudio_in_run()556 s->read_pos += wav_bytes; in winaudio_in_run()557 if (s->read_pos == s->read_size) { in winaudio_in_run()558 s->read_pos = 0; in winaudio_in_run()
62 int read_pos = from_pos; in Read() local67 while (read_pos < write_pos_ && dest_buf_pos < buf_size) { in Read()68 const int read_size = Min(write_pos_ - read_pos, in Read()74 read_pos += read_size; in Read()