Exemplo 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");
     }
 }
Exemplo 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);
     }
 }
Exemplo 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);
 }
Exemplo n.º 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);