aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-02 19:52:57 -0800
committerChris Robinson <[email protected]>2018-01-02 19:52:57 -0800
commit08a4840298b7bfacb9e858797b0ac54169d109c9 (patch)
tree31b8ad5f316d954cd7ccafcc4d26b8050186d78c /Alc/effects
parenta16f933e3ad26c85321503e40a9bc5da69200ed6 (diff)
Don't offset the reverb modulation sinus
Diffstat (limited to 'Alc/effects')
-rw-r--r--Alc/effects/reverb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 537cc082..acf0360a 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1444,7 +1444,7 @@ static void CalcModulationDelays(ALreverbState *State,
/* Calculate the sinus rhythm (dependent on modulation time and the
* sampling rate).
*/
- sinus = sinf(index * State->Mod.Scale) + 1.0f;
+ sinus = sinf(index * State->Mod.Scale);
index = (index+1) % State->Mod.Range;
/* Calculate the read offset. */