From ac65fb99245b44655ef7ac1f637bb2a68808683a Mon Sep 17 00:00:00 2001 From: Lukas W Date: Sat, 28 Jul 2018 14:00:06 +0200 Subject: [PATCH] MSVC: Fix Organic instrument --- plugins/CMakeLists.txt | 1 - plugins/organic/organic.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 798c45ae4f5..8c814736b43 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -92,7 +92,6 @@ IF(MSVC) SET(MSVC_INCOMPATIBLE_PLUGINS LadspaEffect monstro - organic ReverbSC sid #VstEffect diff --git a/plugins/organic/organic.cpp b/plugins/organic/organic.cpp index 8f5ae6b3611..b6d45c8d36c 100644 --- a/plugins/organic/organic.cpp +++ b/plugins/organic/organic.cpp @@ -233,8 +233,8 @@ void organicInstrument::playNote( NotePlayHandle * _n, if( _n->totalFramesPlayed() == 0 || _n->m_pluginData == NULL ) { - Oscillator * oscs_l[m_numOscillators]; - Oscillator * oscs_r[m_numOscillators]; + Oscillator * oscs_l[NUM_OSCILLATORS]; + Oscillator * oscs_r[NUM_OSCILLATORS]; _n->m_pluginData = new oscPtr;