summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-12-07 07:41:24 +0000
committerTim E. Real <termtech@rogers.com>2012-12-07 07:41:24 +0000
commit0a919a7b36ee4b58e5ce3628a2d8b97bf751d2c4 (patch)
tree335fccddc229d2d0299095dfe46daae614188c79 /muse2/muse/plugin.cpp
parenta9cef6554f73892b6c7ff6a7a44d8e72f06aa16f (diff)
Feature: Native VST instruments support. PLEASE SEE ChangeLog.
Diffstat (limited to 'muse2/muse/plugin.cpp')
-rw-r--r--muse2/muse/plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/muse2/muse/plugin.cpp b/muse2/muse/plugin.cpp
index 9dc2005e..0ca7524c 100644
--- a/muse2/muse/plugin.cpp
+++ b/muse2/muse/plugin.cpp
@@ -1575,6 +1575,7 @@ bool PluginIBase::addScheduledControlEvent(unsigned long i, float val, unsigned
}
ControlEvent ce;
ce.unique = false;
+ ce.fromGui = false;
ce.idx = i;
ce.value = val;
// Time-stamp the event. This does a possibly slightly slow call to gettimeofday via timestamp().
@@ -2800,6 +2801,7 @@ int PluginI::oscControl(unsigned long port, float value)
*/
ControlEvent ce;
ce.unique = _plugin->_isDssiVst; // Special for messages from vst gui to host - requires processing every message.
+ ce.fromGui = true; // It came form the plugin's own GUI.
ce.idx = cport;
ce.value = value;
// Time-stamp the event. This does a possibly slightly slow call to gettimeofday via timestamp().