Skip to content

Commit

Permalink
On vstsdk2.4, effProcessEvents doesn't need return 1
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Mar 16, 2013
1 parent 92dc399 commit caf7d72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dssi-vst-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,7 @@ RemoteVSTServer::sendMIDIData(unsigned char *data, int *frameOffsets, int events
pthread_mutex_lock(&mutex);

vstev->numEvents = events;
if (!m_plugin->dispatcher(m_plugin, effProcessEvents, 0, 0, vstev, 0)) {
cerr << "WARNING: " << ix << " MIDI event(s) rejected by plugin" << endl;
}
m_plugin->dispatcher(m_plugin, effProcessEvents, 0, 0, vstev, 0);

pthread_mutex_unlock(&mutex);
}
Expand Down

0 comments on commit caf7d72

Please sign in to comment.