MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / InitIOBuffers

Method InitIOBuffers

Source/ModularSynth.cpp:292–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void ModularSynth::InitIOBuffers(int inputChannelCount, int outputChannelCount)
293{
294 for (int i = 0; i < inputChannelCount; ++i)
295 mInputBuffers.push_back(new float[gBufferSize]);
296 for (int i = 0; i < outputChannelCount; ++i)
297 mOutputBuffers.push_back(new float[gBufferSize]);
298}
299
300
301std::string ModularSynth::GetUserPrefsPath()

Callers 1

initialiseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected