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