Esempio n. 1
0
 public unsafe void AddMem(ReadOnlySpan <byte> buffer)
 {
     fixed(byte *ptr = buffer)
     {
         LibFluidsynth.fluid_player_add_mem(Handle, (IntPtr)ptr, buffer.Length);
     }
 }
Esempio n. 2
0
 public void AddMem(IntPtr buffer, int length)
 {
     ThrowIfDisposed();
     LibFluidsynth.fluid_player_add_mem(Handle, buffer, length);
 }
Esempio n. 3
0
 public void AddMem(IntPtr buffer, int length)
 {
     LibFluidsynth.fluid_player_add_mem(Handle, buffer, length);
 }