diff --git a/source/backend/CarlaHost.h b/source/backend/CarlaHost.h index 04750eaa2..3821066e7 100644 --- a/source/backend/CarlaHost.h +++ b/source/backend/CarlaHost.h @@ -796,6 +796,7 @@ CARLA_EXPORT void carla_set_panning(uint pluginId, float value); * @param channel New channel */ CARLA_EXPORT void carla_set_ctrl_channel(uint pluginId, int8_t channel); +#endif /*! * Enable a plugin's option. @@ -804,7 +805,6 @@ CARLA_EXPORT void carla_set_ctrl_channel(uint pluginId, int8_t channel); * @param yesNo New enabled state */ CARLA_EXPORT void carla_set_option(uint pluginId, uint option, bool yesNo); -#endif /*! * Change a plugin's parameter value. diff --git a/source/backend/CarlaStandalone.cpp b/source/backend/CarlaStandalone.cpp index 4b746e347..dd9d59812 100644 --- a/source/backend/CarlaStandalone.cpp +++ b/source/backend/CarlaStandalone.cpp @@ -1728,6 +1728,7 @@ void carla_set_ctrl_channel(uint pluginId, int8_t channel) carla_debug("carla_set_ctrl_channel(%i, %i)", pluginId, channel); return plugin->setCtrlChannel(channel, true, false); } +#endif void carla_set_option(uint pluginId, uint option, bool yesNo) { @@ -1739,7 +1740,6 @@ void carla_set_option(uint pluginId, uint option, bool yesNo) carla_debug("carla_set_option(%i, %i, %s)", pluginId, option, bool2str(yesNo)); return plugin->setOption(option, yesNo, false); } -#endif // --------------------------------------------------------------------------------------------------------------------