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

Method setLoopBeginTime

src/cinder/audio/SamplePlayerNode.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void SamplePlayerNode::setLoopBeginTime( double positionSeconds )
85{
86 setLoopBegin( size_t( positionSeconds * (double)getSampleRate() ) );
87}
88
89void SamplePlayerNode::setLoopEndTime( double positionSeconds )
90{

Callers 3

setupBufferPlayerNodeMethod · 0.80
setupFilePlayerNodeMethod · 0.80
updateUIMethod · 0.80

Calls 1

getSampleRateFunction · 0.50

Tested by 3

setupBufferPlayerNodeMethod · 0.64
setupFilePlayerNodeMethod · 0.64
updateUIMethod · 0.64