Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cinder/Cinder
/ initialize
Method
initialize
src/cinder/audio/GenNode.cpp:59–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
void GenNode::initialize()
60
{
61
mSamplePeriod = 1.0f / (float)getSampleRate();
62
}
63
64
void GenNode::setPhase( float phase )
65
{
Callers
nothing calls this directly
Calls
7
getFramesPerBlock
Function · 0.85
fillSine
Method · 0.80
fillBandlimited
Method · 0.80
getSampleRate
Function · 0.50
reset
Method · 0.45
getSampleRate
Method · 0.45
setNumFrames
Method · 0.45
Tested by
no test coverage detected