MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / getReadPointer

Method getReadPointer

src/utils/CircularBlockBuffer.cpp:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72uint8_t * const CircularBlockBuffer::getReadPointer(int n) {
73 return &(_buffer[positiveOffset(_readBlock, n) * _blockSize]);
74}
75
76int CircularBlockBuffer::get_contiguous_read_blocks() const {
77 return min(available_read(), _blockCount - _readBlock);

Callers 5

provideMethod · 0.80
provideMethod · 0.80
beginMethod · 0.80
startMethod · 0.80
i2s_interruptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected