Browse Source

Misc

tags/1.9.4
falkTX 12 years ago
parent
commit
68e98bda97
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      source/modules/distrho/src/DistrhoPluginVST.cpp

+ 6
- 5
source/modules/distrho/src/DistrhoPluginVST.cpp View File

@@ -24,6 +24,7 @@
# define __cdecl # define __cdecl
#endif #endif


// has some conflicts
#ifdef noexcept #ifdef noexcept
# undef noexcept # undef noexcept
#endif #endif
@@ -152,12 +153,12 @@ public:
fUI.idle(); fUI.idle();
} }


int16_t getWidth() const noexcept
int16_t getWidth() const
{ {
return fUI.getWidth(); return fUI.getWidth();
} }


int16_t getHeight() const noexcept
int16_t getHeight() const
{ {
return fUI.getHeight(); return fUI.getHeight();
} }
@@ -165,14 +166,14 @@ public:
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// functions called from the plugin side, RT no block // functions called from the plugin side, RT no block


void setParameterValueFromPlugin(const uint32_t index, const float perValue) noexcept
void setParameterValueFromPlugin(const uint32_t index, const float perValue)
{ {
fParameterChecks[index] = true; fParameterChecks[index] = true;
fParameterValues[index] = perValue; fParameterValues[index] = perValue;
} }


#if DISTRHO_PLUGIN_WANT_PROGRAMS #if DISTRHO_PLUGIN_WANT_PROGRAMS
void setProgramFromPlugin(const uint32_t index) noexcept
void setProgramFromPlugin(const uint32_t index)
{ {
fNextProgram = index; fNextProgram = index;


@@ -306,7 +307,7 @@ class PluginVst
#endif #endif
{ {
public: public:
PluginVst(const audioMasterCallback audioMaster, AEffect* const effect) noexcept
PluginVst(const audioMasterCallback audioMaster, AEffect* const effect)
: fAudioMaster(audioMaster), : fAudioMaster(audioMaster),
fEffect(effect) fEffect(effect)
{ {


Loading…
Cancel
Save