Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
void SamplePlayerNode::setLoopEndTime( double positionSeconds )
90
{
91
setLoopEnd( size_t( positionSeconds * (double)getSampleRate() ) );
92
}
93
94
double SamplePlayerNode::getReadPositionTime() const
95
{
Callers
4
setupBufferPlayerNode
Method · 0.80
setupFilePlayerNode
Method · 0.80
openFile
Method · 0.80
updateUI
Method · 0.80
Calls
1
getSampleRate
Function · 0.50
Tested by
4
setupBufferPlayerNode
Method · 0.64
setupFilePlayerNode
Method · 0.64
openFile
Method · 0.64
updateUI
Method · 0.64