Browse Source

Expose carla_set_option to bridges

tags/v1.9.11
falkTX 6 years ago
parent
commit
46178fdca7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/CarlaHost.h
  2. +1
    -1
      source/backend/CarlaStandalone.cpp

+ 1
- 1
source/backend/CarlaHost.h View File

@@ -796,6 +796,7 @@ CARLA_EXPORT void carla_set_panning(uint pluginId, float value);
* @param channel New channel * @param channel New channel
*/ */
CARLA_EXPORT void carla_set_ctrl_channel(uint pluginId, int8_t channel); CARLA_EXPORT void carla_set_ctrl_channel(uint pluginId, int8_t channel);
#endif


/*! /*!
* Enable a plugin's option. * 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 * @param yesNo New enabled state
*/ */
CARLA_EXPORT void carla_set_option(uint pluginId, uint option, bool yesNo); CARLA_EXPORT void carla_set_option(uint pluginId, uint option, bool yesNo);
#endif


/*! /*!
* Change a plugin's parameter value. * Change a plugin's parameter value.


+ 1
- 1
source/backend/CarlaStandalone.cpp View File

@@ -1728,6 +1728,7 @@ void carla_set_ctrl_channel(uint pluginId, int8_t channel)
carla_debug("carla_set_ctrl_channel(%i, %i)", pluginId, channel); carla_debug("carla_set_ctrl_channel(%i, %i)", pluginId, channel);
return plugin->setCtrlChannel(channel, true, false); return plugin->setCtrlChannel(channel, true, false);
} }
#endif


void carla_set_option(uint pluginId, uint option, bool yesNo) 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)); carla_debug("carla_set_option(%i, %i, %s)", pluginId, option, bool2str(yesNo));
return plugin->setOption(option, yesNo, false); return plugin->setOption(option, yesNo, false);
} }
#endif


// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------




Loading…
Cancel
Save