Searched refs:write_pos (Results 1 – 3 of 3) sorted by relevance
27 size_t write_pos; member104 self->write_pos = 0; in WebRtc_InitBuffer()190 const size_t margin = self->element_count - self->write_pos; in WebRtc_WriteBuffer()194 memcpy(self->data + self->write_pos * self->element_size, in WebRtc_WriteBuffer()196 self->write_pos = 0; in WebRtc_WriteBuffer()200 memcpy(self->data + self->write_pos * self->element_size, in WebRtc_WriteBuffer()203 self->write_pos += n; in WebRtc_WriteBuffer()257 return self->write_pos - self->read_pos; in WebRtc_available_read()259 return self->element_count - self->read_pos + self->write_pos; in WebRtc_available_read()
151 curr_lookahead = tonal->write_pos-tonal->read_pos; in tonality_get_info()155 if (len > 480 && pos != tonal->write_pos) in tonality_get_info()161 if (pos == tonal->write_pos) in tonality_get_info()245 info = &tonal->info[tonal->write_pos++]; in tonality_analysis()246 if (tonal->write_pos>=DETECT_SIZE) in tonality_analysis()247 tonal->write_pos-=DETECT_SIZE; in tonality_analysis()
75 int write_pos; member