| 19 | typedef std::complex<double> Complex; |
| 20 | |
| 21 | void FFTFrame::doPaddedFFT(const float * data, int dataSize) |
| 22 | { |
| 23 | // Zero-pad the impulse response |
| 24 | AudioFloatArray paddedResponse(fftSize()); // zero-initialized |
| 25 | paddedResponse.copyToRange(data, 0, dataSize); |
| 26 | |
| 27 | // Get the frequency-domain version of padded response |
| 28 | computeForwardFFT(paddedResponse.data()); |
| 29 | } |
| 30 | |
| 31 | std::unique_ptr<FFTFrame> FFTFrame::createInterpolatedFrame(const FFTFrame & frame1, const FFTFrame & frame2, double x) |
| 32 | { |
no test coverage detected