/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h

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

revision 3293 by schoenebeck, Tue Jun 27 22:19:19 2017 UTC revision 3316 by schoenebeck, Thu Jul 20 12:05:53 2017 UTC
# Line 243  namespace LinuxSampler { Line 243  namespace LinuxSampler {
243          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
244      };      };
245    
246        class InstrumentScriptVMFunction_change_sustain : public VMChangeSynthParamFunction {
247        public:
248            InstrumentScriptVMFunction_change_sustain(InstrumentScriptVM* parent) : VMChangeSynthParamFunction(parent) {}
249            VMFnResult* exec(VMFnArgs* args);
250        };
251    
252      class InstrumentScriptVMFunction_change_amp_lfo_depth : public VMChangeSynthParamFunction {      class InstrumentScriptVMFunction_change_amp_lfo_depth : public VMChangeSynthParamFunction {
253      public:      public:
254          InstrumentScriptVMFunction_change_amp_lfo_depth(InstrumentScriptVM* parent) : VMChangeSynthParamFunction(parent) {}          InstrumentScriptVMFunction_change_amp_lfo_depth(InstrumentScriptVM* parent) : VMChangeSynthParamFunction(parent) {}
# Line 395  namespace LinuxSampler { Line 401  namespace LinuxSampler {
401          int minRequiredArgs() const { return 1; }          int minRequiredArgs() const { return 1; }
402          int maxAllowedArgs() const { return 1; }          int maxAllowedArgs() const { return 1; }
403          bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}          bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
404            ExprType_t argType(int iArg) const { return INT_EXPR; }
405            VMFnResult* exec(VMFnArgs* args);
406        protected:
407            InstrumentScriptVM* m_vm;
408        };
409    
410        class InstrumentScriptVMFunction_callback_status : public VMIntResultFunction {
411        public:
412            InstrumentScriptVMFunction_callback_status(InstrumentScriptVM* parent);
413            int minRequiredArgs() const { return 1; }
414            int maxAllowedArgs() const { return 1; }
415            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
416          ExprType_t argType(int iArg) const { return INT_EXPR; }          ExprType_t argType(int iArg) const { return INT_EXPR; }
417          VMFnResult* exec(VMFnArgs* args);          VMFnResult* exec(VMFnArgs* args);
418      protected:      protected:

Legend:
Removed from v.3293  
changed lines
  Added in v.3316

  ViewVC Help
Powered by ViewVC