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

Method setLoopEndTime

src/cinder/audio/SamplePlayerNode.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void SamplePlayerNode::setLoopEndTime( double positionSeconds )
90{
91 setLoopEnd( size_t( positionSeconds * (double)getSampleRate() ) );
92}
93
94double SamplePlayerNode::getReadPositionTime() const
95{

Callers 4

setupBufferPlayerNodeMethod · 0.80
setupFilePlayerNodeMethod · 0.80
openFileMethod · 0.80
updateUIMethod · 0.80

Calls 1

getSampleRateFunction · 0.50

Tested by 4

setupBufferPlayerNodeMethod · 0.64
setupFilePlayerNodeMethod · 0.64
openFileMethod · 0.64
updateUIMethod · 0.64