Exemple #1
0
        public bool SetPanLaw(VstPanLaw type, float gain)
        {
            if (_commands != null)
            {
                return(_commands.SetPanLaw(type, gain));
            }

            return(false);
        }
Exemple #2
0
 bool IVstPluginAudioProcessor.SetPanLaw(VstPanLaw type, float gain)
 {
     currentPan.equalPower = type == VstPanLaw.EqualPowerPanLaw;
     currentPan.amount     = gain;
     return(true);
 }
        public override bool SetPanLaw(VstPanLaw type, float gain)
        {
            LogMethod(MethodBase.GetCurrentMethod());

            return(base.SetPanLaw(type, gain));
        }
Exemple #4
0
 /// <summary>
 /// This call is forwarded to the <see cref="Jacobi.Vst.Core.Plugin.IVstPluginCommandStub"/> implementation.
 /// </summary>
 /// <param name="type">Passed with the forwarded call.</param>
 /// <param name="gain">Passed with the forwarded call.</param>
 /// <returns>Returns the value returned from the forwarded call.</returns>
 public bool SetPanLaw(VstPanLaw type, float gain)
 {
     return(_pluginCmdStub.SetPanLaw(type, gain));
 }
Exemple #5
0
 /// <inheritdoc />
 public virtual bool SetPanLaw(VstPanLaw type, float gain)
 {
     return(false);
 }
 public bool SetPanLaw(VstPanLaw type, float gain)
 {
     throw new NotImplementedException();
 }
        /// <summary>
        /// Informs the plugin of the pan algorithm to use.
        /// </summary>
        /// <param name="type">The pan algorithm type.</param>
        /// <param name="gain">A gain factor.</param>
        /// <returns>Returns false when not implemented.</returns>
        public virtual bool SetPanLaw(VstPanLaw type, float gain)
        {
            IVstPluginAudioProcessor audioProcessor = pluginCtx.Plugin.GetInstance<IVstPluginAudioProcessor>();

            if (audioProcessor != null)
                return audioProcessor.SetPanLaw(type, gain);

            return false;
        }
 public bool SetPanLaw(VstPanLaw type, float value)
 {
     return false;
 }
Exemple #9
0
 /// <inheritdoc />
 public bool SetPanLaw(VstPanLaw type, float value)
 {
     Log("SetPanLaw: " + type);
     return(false);
 }