MCPcopy 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
59void GenNode::initialize()
60{
61 mSamplePeriod = 1.0f / (float)getSampleRate();
62}
63
64void GenNode::setPhase( float phase )
65{

Callers

nothing calls this directly

Calls 7

getFramesPerBlockFunction · 0.85
fillSineMethod · 0.80
fillBandlimitedMethod · 0.80
getSampleRateFunction · 0.50
resetMethod · 0.45
getSampleRateMethod · 0.45
setNumFramesMethod · 0.45

Tested by

no test coverage detected