Пример #1
0
        public bool SetProcessPrecision(VstProcessPrecision precision)
        {
            if (_commands != null)
            {
                return(_commands.SetProcessPrecision(precision));
            }

            return(false);
        }
Пример #2
0
        public override bool SetProcessPrecision(VstProcessPrecision precision)
        {
            LogMethod(MethodBase.GetCurrentMethod());

            return(base.SetProcessPrecision(precision));
        }
Пример #3
0
 /// <summary>
 /// This call is forwarded to the <see cref="Jacobi.Vst.Core.Plugin.IVstPluginCommandStub"/> implementation.
 /// </summary>
 /// <param name="precision">Passed with the forwarded call.</param>
 /// <returns>Returns the value returned from the forwarded call.</returns>
 public bool SetProcessPrecision(VstProcessPrecision precision)
 {
     return(_pluginCmdStub.SetProcessPrecision(precision));
 }
Пример #4
0
 public bool SetProcessPrecision(VstProcessPrecision precision)
 {
     throw new NotImplementedException();
 }
Пример #5
0
 public bool SetProcessPrecision(VstProcessPrecision precision)
 {
     return(_pluginCtx.PluginCommandStub.SetProcessPrecision(precision));
 }
        /// <summary>
        /// Called by the host query inform the plugin on the precision of audio processing it supports.
        /// </summary>
        /// <param name="precision">An indication of either 32 bit or 64 bit samples.</param>
        /// <returns>Returns true when the requested <paramref name="precision"/> is supported.</returns>
        /// <remarks>The implementation just queries the plugin for the <see cref="IVstPluginAudioProcessor"/> and
        /// <see cref="IVstPluginAudioPrecisionProcessor"/> interfaces. Override to change this behavior.</remarks>
        public virtual bool SetProcessPrecision(VstProcessPrecision precision)
        {
            bool canDo = false;

            switch (precision)
            {
                case VstProcessPrecision.Process32:
                    canDo = pluginCtx.Plugin.Supports<IVstPluginAudioProcessor>();
                    break;
                case VstProcessPrecision.Process64:
                    canDo = pluginCtx.Plugin.Supports<IVstPluginAudioPrecisionProcessor>();
                    break;
            }

            return canDo;
        }
 public bool SetProcessPrecision(VstProcessPrecision precision)
 {
     return false;
 }
Пример #8
0
 /// <inheritdoc />
 public bool SetProcessPrecision(VstProcessPrecision precision)
 {
     Log("SetProcessPrecision:" + precision);
     return(false);
 }