diff options
Diffstat (limited to 'alc/uhjfilter.cpp')
-rw-r--r-- | alc/uhjfilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/uhjfilter.cpp b/alc/uhjfilter.cpp index 9c0692c4..522b6bb7 100644 --- a/alc/uhjfilter.cpp +++ b/alc/uhjfilter.cpp @@ -59,7 +59,7 @@ std::array<float,Uhj2Encoder::sFilterSize> GenerateFilter() fftBuffer[half_size] = c0; for(size_t i{half_size+1};i < fft_size;++i) fftBuffer[i] = std::conj(fftBuffer[fft_size - i]); - complex_fft(fftBuffer, 1.0); + inverse_fft(fftBuffer); /* Reverse and truncate the filter to a usable size, and store only the * non-0 terms. Should this be windowed? |