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

Method setLoopEnd

src/cinder/audio/SamplePlayerNode.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void SamplePlayerNode::setLoopEnd( size_t positionFrames )
72{
73 mLoopEnd = positionFrames < mNumFrames ? positionFrames : mNumFrames;
74
75 if( mLoopBegin > mLoopEnd )
76 mLoopBegin = mLoopEnd.load();
77}
78
79void SamplePlayerNode::seekToTime( double readPositionSeconds )
80{

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected