diff options
author | Lopuska <[email protected]> | 2019-07-01 14:58:32 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-01 14:58:32 +0200 |
commit | a5197177beb62bfdc6f70c6f1294b588089b64ec (patch) | |
tree | dd16b1ac4b28fad970f095ae7f205f97d9b2c4f0 /Alc/effects/modulator.cpp | |
parent | 0c2edd10dd9de6432d0e2b970fbc71a45b93110b (diff) |
Corrected old naming
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 39f1aa04..12974faa 100644 --- a/Alc/effects/modulator.cpp +++ b/Alc/effects/modulator.cpp @@ -121,7 +121,7 @@ void ModulatorState::update(const ALCcontext *context, const ALeffectslot *slot, mGetSamples = Modulate<Sin>; else if(props->Modulator.Waveform == AL_RING_MODULATOR_SAWTOOTH) mGetSamples = Modulate<Saw>; - else /*if(Slot->Params.EffectProps.Modulator.Waveform == AL_RING_MODULATOR_SQUARE)*/ + else /*if(props->Modulator.Waveform == AL_RING_MODULATOR_SQUARE)*/ mGetSamples = Modulate<Square>; ALfloat f0norm{props->Modulator.HighPassCutoff / static_cast<ALfloat>(device->Frequency)}; |