/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVM.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVM.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3072 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC revision 3073 by schoenebeck, Thu Jan 5 16:04:00 2017 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 2014 - 2016 Christian Schoenebeck   * Copyright (c) 2014 - 2017 Christian Schoenebeck
3   *   *
4   * http://www.linuxsampler.org   * http://www.linuxsampler.org
5   *   *
# Line 234  namespace LinuxSampler { Line 234  namespace LinuxSampler {
234          m_fnChangeCutoff(this), m_fnChangeReso(this),  m_fnChangeAttack(this),          m_fnChangeCutoff(this), m_fnChangeReso(this),  m_fnChangeAttack(this),
235          m_fnChangeDecay(this), m_fnChangeRelease(this), m_fnEventStatus(this),          m_fnChangeDecay(this), m_fnChangeRelease(this), m_fnEventStatus(this),
236          m_fnWait2(this), m_fnStopWait(this),          m_fnWait2(this), m_fnStopWait(this),
237          m_varEngineUptime(this), m_varCallbackID(this)          m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this)
238      {      {
239          m_CC.size = _MEMBER_SIZEOF(AbstractEngineChannel, ControllerTable);          m_CC.size = _MEMBER_SIZEOF(AbstractEngineChannel, ControllerTable);
240          m_CC_NUM = DECLARE_VMINT(m_event, class ScriptEvent, cause.Param.CC.Controller);          m_CC_NUM = DECLARE_VMINT(m_event, class ScriptEvent, cause.Param.CC.Controller);
# Line 338  namespace LinuxSampler { Line 338  namespace LinuxSampler {
338          // first get built-in dynamic variables of derived VM class          // first get built-in dynamic variables of derived VM class
339          std::map<String,VMDynVar*> m = ScriptVM::builtInDynamicVariables();          std::map<String,VMDynVar*> m = ScriptVM::builtInDynamicVariables();
340    
341            m["%ALL_EVENTS"] = &m_varAllEvents;
342          m["$ENGINE_UPTIME"] = &m_varEngineUptime;          m["$ENGINE_UPTIME"] = &m_varEngineUptime;
343          m["$NI_CALLBACK_ID"] = &m_varCallbackID;          m["$NI_CALLBACK_ID"] = &m_varCallbackID;
344    

Legend:
Removed from v.3072  
changed lines
  Added in v.3073

  ViewVC Help
Powered by ViewVC