| 415 | |
| 416 | template <typename T> |
| 417 | void 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 |
nothing calls this directly
no test coverage detected