aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/effects/fshifter.cpp2
-rw-r--r--Alc/effects/pshifter.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/fshifter.cpp b/Alc/effects/fshifter.cpp
index 496a767d..0bbcc859 100644
--- a/Alc/effects/fshifter.cpp
+++ b/Alc/effects/fshifter.cpp
@@ -171,7 +171,7 @@ void FshifterState::process(const ALsizei samplesToDo, const FloatBufferLine *RE
}
/* Processing signal by Discrete Hilbert Transform (analytical signal). */
- complex_hilbert(mAnalytic, HIL_SIZE);
+ complex_hilbert(mAnalytic);
/* Windowing and add to output accumulator */
for(k = 0;k < HIL_SIZE;k++)
diff --git a/Alc/effects/pshifter.cpp b/Alc/effects/pshifter.cpp
index f1865830..619bde34 100644
--- a/Alc/effects/pshifter.cpp
+++ b/Alc/effects/pshifter.cpp
@@ -230,7 +230,7 @@ void PshifterState::process(const ALsizei samplesToDo, const FloatBufferLine *RE
/* ANALYSIS */
/* Apply FFT to FFTbuffer data */
- complex_fft(mFFTbuffer, STFT_SIZE, -1.0);
+ complex_fft(mFFTbuffer, -1.0);
/* Analyze the obtained data. Since the real FFT is symmetric, only
* STFT_HALF_SIZE+1 samples are needed.
@@ -302,7 +302,7 @@ void PshifterState::process(const ALsizei samplesToDo, const FloatBufferLine *RE
mFFTbuffer[k] = complex_d{};
/* Apply iFFT to buffer data */
- complex_fft(mFFTbuffer, STFT_SIZE, 1.0);
+ complex_fft(mFFTbuffer, 1.0);
/* Windowing and add to output */
for(ALsizei k{0};k < STFT_SIZE;k++)