diff options
author | Chris Robinson <[email protected]> | 2019-02-21 03:54:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-02-21 03:54:12 -0800 |
commit | a35255291f946c634219da71b287339654eeff3c (patch) | |
tree | 7da8a088b6d037ac9db2261a3ecd37ca984907a2 | |
parent | 8d2d7c63da8f5f106f607f5b21ea08151217c58a (diff) |
Fix unused parameter warning
-rw-r--r-- | Alc/effects/distortion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/distortion.cpp b/Alc/effects/distortion.cpp index 8e21681e..ce403e8e 100644 --- a/Alc/effects/distortion.cpp +++ b/Alc/effects/distortion.cpp @@ -95,7 +95,7 @@ void ALdistortionState::update(const ALCcontext *context, const ALeffectslot *sl ComputePanGains(target.Main, coeffs, slot->Params.Gain*props->Distortion.Gain, mGain); } -void ALdistortionState::process(ALsizei samplesToDo, const ALfloat (*RESTRICT samplesIn)[BUFFERSIZE], const ALsizei numInput, ALfloat (*RESTRICT samplesOut)[BUFFERSIZE], const ALsizei numOutput) +void ALdistortionState::process(ALsizei samplesToDo, const ALfloat (*RESTRICT samplesIn)[BUFFERSIZE], const ALsizei /*numInput*/, ALfloat (*RESTRICT samplesOut)[BUFFERSIZE], const ALsizei numOutput) { ALfloat (*RESTRICT buffer)[BUFFERSIZE] = mBuffer; const ALfloat fc = mEdgeCoeff; |