MCPcopy Create free account
hub / github.com/cinder/Cinder / seek

Method seek

src/cinder/audio/SamplePlayerNode.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void BufferPlayerNode::seek( size_t readPositionFrames )
144{
145 mIsEof = false;
146 mReadPos = math<size_t>::clamp( readPositionFrames, 0, mNumFrames );
147}
148
149void BufferPlayerNode::setBuffer( const BufferRef &buffer )
150{

Callers 3

readAsyncImplMethod · 0.45
readImplMethod · 0.45
seekImplMethod · 0.45

Calls 3

clampFunction · 0.85
getContextFunction · 0.85
isAudioThreadMethod · 0.80

Tested by

no test coverage detected