MCPcopy Create free account
hub / github.com/christophhart/HISE / setNumChannels

Method setNumChannels

hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:256–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254
255
256void DspNetwork::setNumChannels(int newNumChannels)
257{
258 if(newNumChannels != currentSpecs.numChannels)
259 {
260 currentSpecs.numChannels = newNumChannels;
261 prepareToPlay(currentSpecs.sampleRate, currentSpecs.blockSize);
262 }
263}
264
265void DspNetwork::createAllNodesOnce()
266{

Callers 3

prepareMethod · 0.45
prepareTestMethod · 0.45

Calls 1

prepareToPlayFunction · 0.50

Tested by 1

prepareTestMethod · 0.36