diff --git a/CMakeLists.txt b/CMakeLists.txt index c2f5bbf..fa71158 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,7 @@ target_include_directories(string-machine if(MSVC) target_compile_options(string-machine PUBLIC "/fp:fast") + target_compile_definitions(string-machine PRIVATE _USE_MATH_DEFINES) else() target_compile_options(string-machine PUBLIC "-ffast-math") endif() diff --git a/gen/dsp/LFO3PhaseDual.cpp b/gen/dsp/LFO3PhaseDual.cpp index 9f09eee..2529c2d 100644 --- a/gen/dsp/LFO3PhaseDual.cpp +++ b/gen/dsp/LFO3PhaseDual.cpp @@ -455,7 +455,7 @@ void LFO3PhaseDual::process( LFO3PhaseDualDsp &dsp = static_cast(*fDsp); float *inputs[] = { - + 0 }; float *outputs[] = { out0,out1,out2, diff --git a/gen/dsp/NoiseLFO.cpp b/gen/dsp/NoiseLFO.cpp index 7420708..8da692d 100644 --- a/gen/dsp/NoiseLFO.cpp +++ b/gen/dsp/NoiseLFO.cpp @@ -362,7 +362,7 @@ void NoiseLFO::process( NoiseLFODsp &dsp = static_cast(*fDsp); float *inputs[] = { - + 0 }; float *outputs[] = { out0,