示例#1
0
        public bool SetEditorKnobMode(VstKnobMode mode)
        {
            if (_commands != null)
            {
                return(_commands.SetEditorKnobMode(mode));
            }

            return(false);
        }
        public override bool SetEditorKnobMode(VstKnobMode mode)
        {
            LogMethod(MethodBase.GetCurrentMethod(), mode);

            return(base.SetEditorKnobMode(mode));
        }
示例#3
0
 /// <summary>
 /// This call is forwarded to the <see cref="Jacobi.Vst.Core.Plugin.IVstPluginCommandStub"/> implementation.
 /// </summary>
 /// <param name="mode">Passed with the forwarded call.</param>
 /// <returns>Returns the value returned from the forwarded call.</returns>
 public bool SetEditorKnobMode(VstKnobMode mode)
 {
     return(_pluginCmdStub.SetEditorKnobMode(mode));
 }
 public bool SetEditorKnobMode(VstKnobMode mode)
 {
     throw new NotImplementedException();
 }
 public bool SetEditorKnobMode(VstKnobMode mode)
 {
     return(_pluginCtx.PluginCommandStub.SetEditorKnobMode(mode));
 }
        /// <summary>
        /// Called by the host to set the mode for turning knobs.
        /// </summary>
        /// <param name="mode">The mode to use for turning knobs.</param>
        /// <returns>Returns true when the mode was set on the plugin editor.</returns>
        public virtual bool SetEditorKnobMode(VstKnobMode mode)
        {
            IVstPluginEditor pluginEditor = pluginCtx.Plugin.GetInstance<IVstPluginEditor>();

            if (pluginEditor != null)
            {
                pluginEditor.KnobMode = mode;
                return true;
            }

            return false;
        }
 public bool SetEditorKnobMode(VstKnobMode mode)
 {
     return false;
 }
示例#8
0
 /// <inheritdoc />
 public bool SetEditorKnobMode(VstKnobMode mode)
 {
     Log("SetEditorKnobMode: " + mode);
     return(false);
 }