commit 2a66f39cdf7b5e28d3cc61da78879fac47d4e9fc
parent df95e431f587450cb9fb8502142aab91a329cf44
Author: falkTX <falktx@gmail.com>
Date: Sun, 26 Apr 2015 19:48:01 +0200
Misc
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/distrho/DistrhoInfo.hpp b/distrho/DistrhoInfo.hpp
@@ -533,7 +533,7 @@ START_NAMESPACE_DISTRHO
/**
Wherever the plugin provides its own internal programs.
@see Plugin::initProgramName(uint32_t, String&)
- @see Plugin::setProgram(uint32_t)
+ @see Plugin::loadProgram(uint32_t)
*/
#define DISTRHO_PLUGIN_WANT_PROGRAMS 1
diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp
@@ -83,7 +83,7 @@ static const uint32_t kParameterIsLogarithmic = 0x08;
When unset, parameter is assumed to be of input type.
Parameter inputs are changed by the host and must not be changed by the plugin.@n
- The only exception being when changing programs, see Plugin::setProgram().@n
+ The only exception being when changing programs, see Plugin::loadProgram().@n
Outputs are changed by the plugin and never modified by the host.
*/
static const uint32_t kParameterIsOutput = 0x10;
@@ -453,7 +453,7 @@ struct TimePosition {
Some of this class functions are only available according to some macros.
DISTRHO_PLUGIN_WANT_PROGRAMS activates program related features.@n
- When enabled you need to implement initProgramName() and setProgram().
+ When enabled you need to implement initProgramName() and loadProgram().
DISTRHO_PLUGIN_WANT_STATE activates internal state features.@n
When enabled you need to implement initStateKey() and setState().
diff --git a/distrho/src/DistrhoPluginCarla.cpp b/distrho/src/DistrhoPluginCarla.cpp
@@ -76,7 +76,7 @@ public:
#if DISTRHO_PLUGIN_WANT_PROGRAMS
void carla_setMidiProgram(const uint32_t realProgram)
{
- fUI.programChanged(realProgram);
+ fUI.programLoaded(realProgram);
}
#endif
@@ -292,7 +292,7 @@ protected:
CARLA_SAFE_ASSERT_RETURN(realProgram < getMidiProgramCount(),);
- fPlugin.setProgram(realProgram);
+ fPlugin.loadProgram(realProgram);
}
#endif