Browse Source

rename gPluinEventQueue

pull/409/head
dreamer 2 years ago
parent
commit
15da91e3a8
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      distrho/src/DistrhoPluginCLAP.cpp

+ 5
- 5
distrho/src/DistrhoPluginCLAP.cpp View File

@@ -211,7 +211,7 @@ public:
#endif #endif
const bool isFloating) const bool isFloating)
: fPlugin(plugin), : fPlugin(plugin),
fPluinEventQueue(eventQueue),
fPluginEventQueue(eventQueue),
fEventQueue(eventQueue->fEventQueue), fEventQueue(eventQueue->fEventQueue),
fCachedParameters(eventQueue->fCachedParameters), fCachedParameters(eventQueue->fCachedParameters),
#if DISTRHO_PLUGIN_WANT_PROGRAMS #if DISTRHO_PLUGIN_WANT_PROGRAMS
@@ -382,7 +382,7 @@ public:
*width = minimumWidth; *width = minimumWidth;
if (minimumHeight > *height) if (minimumHeight > *height)
*height = minimumHeight; *height = minimumHeight;
return true; return true;
} }


@@ -534,7 +534,7 @@ public:
private: private:
// Plugin and UI // Plugin and UI
PluginExporter& fPlugin; PluginExporter& fPlugin;
ClapEventQueue* const fPluinEventQueue;
ClapEventQueue* const fPluginEventQueue;
ClapEventQueue::Queue& fEventQueue; ClapEventQueue::Queue& fEventQueue;
ClapEventQueue::CachedParameters& fCachedParameters; ClapEventQueue::CachedParameters& fCachedParameters;
#if DISTRHO_PLUGIN_WANT_PROGRAMS #if DISTRHO_PLUGIN_WANT_PROGRAMS
@@ -682,7 +682,7 @@ private:
#if DISTRHO_PLUGIN_WANT_STATE #if DISTRHO_PLUGIN_WANT_STATE
void setState(const char* const key, const char* const value) void setState(const char* const key, const char* const value)
{ {
fPluinEventQueue->setStateFromUI(key, value);
fPluginEventQueue->setStateFromUI(key, value);
} }


static void setStateCallback(void* const ptr, const char* key, const char* value) static void setStateCallback(void* const ptr, const char* key, const char* value)
@@ -1232,7 +1232,7 @@ public:


DISTRHO_SAFE_ASSERT_UINT2_BREAK(event->size == sizeof(clap_event_param_value), DISTRHO_SAFE_ASSERT_UINT2_BREAK(event->size == sizeof(clap_event_param_value),
event->size, sizeof(clap_event_param_value)); event->size, sizeof(clap_event_param_value));
setParameterValueFromEvent(static_cast<const clap_event_param_value*>(static_cast<const void*>(event))); setParameterValueFromEvent(static_cast<const clap_event_param_value*>(static_cast<const void*>(event)));
} }
} }


Loading…
Cancel
Save