| 59 | } |
| 60 | |
| 61 | size_t DelayDSPKernel::bufferLengthForDelay(double maxDelayTime, double sampleRate) const |
| 62 | { |
| 63 | // Compute the length of the buffer needed to handle a max delay of |maxDelayTime|. One is |
| 64 | // added to handle the case where the actual delay equals the maximum delay. |
| 65 | return 1 + AudioUtilities::timeToSampleFrame(maxDelayTime, sampleRate); |
| 66 | } |
| 67 | |
| 68 | void DelayDSPKernel::process(ContextRenderLock & r, const float * source, float * destination, int framesToProcess) |
| 69 | { |
nothing calls this directly
no test coverage detected