diff options
Diffstat (limited to 'Alc/effects/pshifter.cpp')
-rw-r--r-- | Alc/effects/pshifter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/pshifter.cpp b/Alc/effects/pshifter.cpp index f0b9de1c..7bd7ada0 100644 --- a/Alc/effects/pshifter.cpp +++ b/Alc/effects/pshifter.cpp @@ -78,7 +78,7 @@ inline int double2int(double d) /* Define a Hann window, used to filter the STFT input and output. */ /* Making this constexpr seems to require C++14. */ -std::array<ALdouble,STFT_SIZE> InitHannWindow(void) +std::array<ALdouble,STFT_SIZE> InitHannWindow() { std::array<ALdouble,STFT_SIZE> ret; /* Create lookup table of the Hann window for the desired size, i.e. HIL_SIZE */ @@ -326,7 +326,7 @@ struct PshifterStateFactory final : public EffectStateFactory { EffectState *PshifterStateFactory::create() { return new ALpshifterState{}; } -EffectStateFactory *PshifterStateFactory_getFactory(void) +EffectStateFactory *PshifterStateFactory_getFactory() { static PshifterStateFactory PshifterFactory{}; return &PshifterFactory; |