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

Method getNumSeconds

src/cinder/audio/SamplePlayerNode.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109double SamplePlayerNode::getNumSeconds() const
110{
111 return (double)mNumFrames / (double)getSampleRate();
112}
113
114// ----------------------------------------------------------------------------------------------------
115// BufferPlayerNode

Callers 4

setupBufferPlayerNodeMethod · 0.45
openFileMethod · 0.45
updateUIMethod · 0.45
updateUIMethod · 0.45

Calls 1

getSampleRateFunction · 0.50

Tested by 4

setupBufferPlayerNodeMethod · 0.36
openFileMethod · 0.36
updateUIMethod · 0.36
updateUIMethod · 0.36