Lines Matching refs:reader
61 int RingBuffer::available(int reader) const { in available()
62 return head_logical_ - readers_[reader]; in available()
74 int64 RingBuffer::Tell(int reader) const { in Tell()
75 return readers_[reader]; in Tell()
78 void RingBuffer::Seek(int reader, int64 position) { in Seek() argument
79 readers_[reader] = position; in Seek()
101 void RingBuffer::Copy(int reader, float* destination, int num_frames) const { in Copy() argument
102 int pos = Tell(reader) % size_; in Copy()
116 float* RingBuffer::GetPointer(int reader, int num_frames) { in GetPointer() argument
117 int pos = Tell(reader) % size_; in GetPointer()
127 Copy(reader, temp_read_buffer_, num_frames); in GetPointer()
132 void RingBuffer::MergeBack(int reader, const float* source, int num_frames) { in MergeBack() argument
137 int pos = Tell(reader) % size_; in MergeBack()