Processes the source to destination bus. The number of channels must match in source and destination.
| 44 | |
| 45 | // Processes the source to destination bus. The number of channels must match in source and destination. |
| 46 | virtual void process(const lab::AudioBus * source, lab::AudioBus * destination, size_t framesToProcess) |
| 47 | { |
| 48 | if (!numChannels) |
| 49 | return; |
| 50 | |
| 51 | int ticks = framesToProcess >> blockSizeAsLog; // this is a faster way of computing (inNumberFrames / blockSize) |
| 52 | const float * inData = source->channel(0)->data(); |
| 53 | float * outData = destination->channel(0)->mutableData(); |
| 54 | pd.processFloat(ticks, inData, outData); |
| 55 | } |
| 56 | |
| 57 | // Resets filter state |
| 58 | virtual void reset() {} |
nothing calls this directly
no test coverage detected