| 2 | #include "utilities.h" |
| 3 | |
| 4 | PhaseVocoder::PhaseVocoder(int size, int hops, int offset, int sRate, const std::shared_ptr<PhaseBuffer> &_phaseBuffer) : StandardFFTProcessor(size, hops, offset, sRate), m_initialOffset(offset) |
| 5 | { |
| 6 | /* |
| 7 | * StandardFFTProcessor Constructor has already alloc an iff |
| 8 | * Why alloc here again? |
| 9 | * if use raw pointer here this would cause memory leak! |
| 10 | */ |
| 11 | // ifft = new kissfft<FftDecimal> (size, true); |
| 12 | phaseBuffer = _phaseBuffer; |
| 13 | } |
| 14 | |
| 15 | |
| 16 | void PhaseVocoder::doHannRotate(std::vector<FftDecimal>& inOut){ |
nothing calls this directly
no outgoing calls
no test coverage detected