Skip to content

Commit ac65fb9

Browse files
committed
MSVC: Fix Organic instrument
1 parent adcc009 commit ac65fb9

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

plugins/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ IF(MSVC)
9292
SET(MSVC_INCOMPATIBLE_PLUGINS
9393
LadspaEffect
9494
monstro
95-
organic
9695
ReverbSC
9796
sid
9897
#VstEffect

plugins/organic/organic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ void organicInstrument::playNote( NotePlayHandle * _n,
233233

234234
if( _n->totalFramesPlayed() == 0 || _n->m_pluginData == NULL )
235235
{
236-
Oscillator * oscs_l[m_numOscillators];
237-
Oscillator * oscs_r[m_numOscillators];
236+
Oscillator * oscs_l[NUM_OSCILLATORS];
237+
Oscillator * oscs_r[NUM_OSCILLATORS];
238238

239239
_n->m_pluginData = new oscPtr;
240240

0 commit comments

Comments
 (0)