diff options
Diffstat (limited to 'Alc/effects/modulator.cpp')
-rw-r--r-- | Alc/effects/modulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/modulator.cpp b/Alc/effects/modulator.cpp index 889d6a86..3544188b 100644 --- a/Alc/effects/modulator.cpp +++ b/Alc/effects/modulator.cpp @@ -43,7 +43,7 @@ static inline ALfloat Sin(ALsizei index) { - return std::sin((ALfloat)index * (F_TAU / (ALfloat)WAVEFORM_FRACONE)); + return std::sin((ALfloat)index * (al::MathDefs<float>::Tau() / (ALfloat)WAVEFORM_FRACONE)); } static inline ALfloat Saw(ALsizei index) |