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

Method initialize

src/cinder/audio/MonitorNode.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void MonitorNode::initialize()
48{
49 if( ! mWindowSize )
50 mWindowSize = getFramesPerBlock();
51
52 for( size_t ch = 0; ch < getNumChannels(); ch++ )
53 mRingBuffers.emplace_back( mWindowSize * mRingBufferPaddingFactor );
54
55 mCopiedBuffer = Buffer( mWindowSize, getNumChannels() );
56}
57
58void MonitorNode::process( Buffer *buffer )
59{

Callers

nothing calls this directly

Calls 8

getFramesPerBlockFunction · 0.85
BufferClass · 0.85
isPowerOf2Function · 0.85
nextPowerOf2Function · 0.85
generateWindowFunction · 0.85
getNumChannelsFunction · 0.50
resizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected