MCPcopy Create free account
hub / github.com/apohl79/audiogridder / preProcessBlocks

Method preProcessBlocks

Server/Source/ProcessorChain.cpp:417–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415
416template <typename T>
417void ProcessorChain::preProcessBlocks(Processor* proc) {
418 traceScope();
419 MidiBuffer midi;
420 int channels = jmax(getTotalNumInputChannels(), getTotalNumOutputChannels()) + m_extraChannels;
421 AudioBuffer<T> buf(channels, getBlockSize());
422 buf.clear();
423 int samplesProcessed = 0;
424 int latencyUnused = 0;
425 do {
426 proc->processBlock(buf, midi, latencyUnused);
427 samplesProcessed += getBlockSize();
428 } while (samplesProcessed < 16384);
429}
430
431} // namespace e47

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
processBlockMethod · 0.45

Tested by

no test coverage detected