Created
December 16, 2014 16:58
-
-
Save falkTX/8bcf11e36e3aeddf9262 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lmms-1.1.0~rc9+git20141216.orig/plugins/carlabase/carla.cpp | |
+++ lmms-1.1.0~rc9+git20141216/plugins/carlabase/carla.cpp | |
@@ -251,16 +251,16 @@ intptr_t CarlaInstrument::handleDispatch | |
switch (opcode) | |
{ | |
- case HOST_OPCODE_NULL: | |
+ case NATIVE_HOST_OPCODE_NULL: | |
break; | |
- case HOST_OPCODE_UPDATE_PARAMETER: | |
- case HOST_OPCODE_UPDATE_MIDI_PROGRAM: | |
- case HOST_OPCODE_RELOAD_PARAMETERS: | |
- case HOST_OPCODE_RELOAD_MIDI_PROGRAMS: | |
- case HOST_OPCODE_RELOAD_ALL: | |
+ case NATIVE_HOST_OPCODE_UPDATE_PARAMETER: | |
+ case NATIVE_HOST_OPCODE_UPDATE_MIDI_PROGRAM: | |
+ case NATIVE_HOST_OPCODE_RELOAD_PARAMETERS: | |
+ case NATIVE_HOST_OPCODE_RELOAD_MIDI_PROGRAMS: | |
+ case NATIVE_HOST_OPCODE_RELOAD_ALL: | |
// nothing | |
break; | |
- case HOST_OPCODE_UI_UNAVAILABLE: | |
+ case NATIVE_HOST_OPCODE_UI_UNAVAILABLE: | |
handleUiClosed(); | |
break; | |
} | |
@@ -459,7 +459,7 @@ PluginView* CarlaInstrument::instantiate | |
void CarlaInstrument::sampleRateChanged() | |
{ | |
- fDescriptor->dispatcher(fHandle, PLUGIN_OPCODE_SAMPLE_RATE_CHANGED, 0, 0, nullptr, handleGetSampleRate()); | |
+ fDescriptor->dispatcher(fHandle, NATIVE_PLUGIN_OPCODE_SAMPLE_RATE_CHANGED, 0, 0, nullptr, handleGetSampleRate()); | |
} | |
// ------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment