| 96 | } |
| 97 | |
| 98 | void LooperGranulator::ProcessFrame(double time, float bufferOffset, float* output) |
| 99 | { |
| 100 | if (mLooper != nullptr) |
| 101 | { |
| 102 | int bufferLength; |
| 103 | auto* buffer = mLooper->GetLoopBuffer(bufferLength); |
| 104 | mGranulator.ProcessFrame(time, buffer, bufferLength, bufferOffset, 1.0f, output); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void LooperGranulator::OnCommit() |
| 109 | { |
nothing calls this directly
no test coverage detected