Esempio n. 1
0
 public void SetInterpolationMethod(int channel, FluidInterpolation interpolationMethod)
 {
     if (LibFluidsynth.Synth.fluid_synth_set_interp_method(Handle, channel, interpolationMethod) != 0)
     {
         OnError("interpolation method set operation failed");
     }
 }
Esempio n. 2
0
 public void SetInterpolationMethod(int channel, FluidInterpolation interpolationMethod)
 {
     if (LibFluidsynth.Synth.fluid_synth_set_interp_method(Handle, channel, interpolationMethod) != 0)
     {
         throw new FluidSynthInteropException("interpolation method set operation failed " + LastError);
     }
 }
Esempio n. 3
0
 public void SetInterpolationMethod(int channel, FluidInterpolation interpolationMethod)
 {
     if (LibFluidsynth.Synth.fluid_synth_set_interp_method (Handle, channel, interpolationMethod) != 0)
         throw new FluidSynthInteropException ("interpolation method set operation failed " + LastError);
 }
 internal static extern int fluid_synth_set_interp_method(fluid_synth_t_ptr synth, int chan,
                                                          FluidInterpolation interp_method);
 [return : MarshalAs(UnmanagedType.SysInt)] internal static extern int    fluid_synth_set_interp_method(fluid_synth_t_ptr synth, [MarshalAs(UnmanagedType.SysInt)] int chan, [MarshalAs(UnmanagedType.SysInt)] FluidInterpolation interp_method);