예제 #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");
     }
 }
예제 #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);
     }
 }
예제 #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);
 }
예제 #4
0
 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);