Searched defs:SpectrumBuffer (Results 1 – 2 of 2) sorted by relevance
26 struct SpectrumBuffer { struct30 int IncIndex(int index) const { in IncIndex()35 int DecIndex(int index) const { in DecIndex()40 int OffsetIndex(int index, int offset) const { in OffsetIndex()47 void UpdateWriteIndex(int offset) { write = OffsetIndex(write, offset); } in UpdateWriteIndex()48 void IncWriteIndex() { write = IncIndex(write); } in IncWriteIndex()49 void DecWriteIndex() { write = DecIndex(write); } in DecWriteIndex()50 void UpdateReadIndex(int offset) { read = OffsetIndex(read, offset); } in UpdateReadIndex()51 void IncReadIndex() { read = IncIndex(read); } in IncReadIndex()52 void DecReadIndex() { read = DecIndex(read); } in DecReadIndex()[all …]
17 SpectrumBuffer::SpectrumBuffer(size_t size, size_t num_channels) in SpectrumBuffer() function in webrtc::SpectrumBuffer