aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/pshifter.cpp
diff options
context:
space:
mode:
authorkcat <[email protected]>2019-01-09 17:16:28 -0800
committerGitHub <[email protected]>2019-01-09 17:16:28 -0800
commit30184613a53c9eb013fee10403aa9cd97d4ea5e1 (patch)
treea3dd40b59196464c12c9d8d585100c5226ffb3b2 /Alc/effects/pshifter.cpp
parent8f35f464a1b3ae1b8772a4645941a1fb2fec006e (diff)
parentf7fe15e1cec05a4c9e6a6a207bdb34397086cffc (diff)
Merge pull request #264 from ShFil119/impr/cleanup
Cleanup continuation
Diffstat (limited to 'Alc/effects/pshifter.cpp')
-rw-r--r--Alc/effects/pshifter.cpp4
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;