diff options
author | Chris Robinson <[email protected]> | 2018-01-02 19:52:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-02 19:52:57 -0800 |
commit | 08a4840298b7bfacb9e858797b0ac54169d109c9 (patch) | |
tree | 31b8ad5f316d954cd7ccafcc4d26b8050186d78c | |
parent | a16f933e3ad26c85321503e40a9bc5da69200ed6 (diff) |
Don't offset the reverb modulation sinus
-rw-r--r-- | Alc/effects/reverb.c | 2 |
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. */ |