Skip to content

Commit

Permalink
MSVC: Fix Organic instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-w committed Jul 28, 2018
1 parent adcc009 commit ac65fb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ IF(MSVC)
SET(MSVC_INCOMPATIBLE_PLUGINS
LadspaEffect
monstro
organic
ReverbSC
sid
#VstEffect
Expand Down
4 changes: 2 additions & 2 deletions plugins/organic/organic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ac65fb9

Please sign in to comment.