BogaudioModules

BogaudioModules for VCV Rack
Log | Files | Refs | README | LICENSE

commit 9ac5b436b587bbb714ebcf5ccfd4e548b5387946
parent c34de704f162adb986a3af8345856bbeb7a26f76
Author: Matt Demanett <matt@demanett.net>
Date:   Mon, 22 Feb 2021 23:11:28 -0500

Fix constant, to make more compilers happy.

Diffstat:
Msrc/dsp/oscillator.hpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dsp/oscillator.hpp b/src/dsp/oscillator.hpp @@ -58,7 +58,7 @@ struct OscillatorGenerator : Oscillator, Generator { struct Phasor : OscillatorGenerator { typedef uint64_t phase_t; typedef int64_t phase_delta_t; - static constexpr phase_t cyclePhase = 1L << 32; + static constexpr phase_t cyclePhase = UINT32_MAX; static constexpr float twoPI = 2.0f * M_PI; static constexpr float maxSampleWidth = 0.25f;