예제 #1
0
        public void SendNow(SequencerEvent evt)
        {
            ThrowIfDisposed();

            evt.ThrowIfDisposed();

            LibFluidsynth.fluid_sequencer_send_now(Handle, evt.Handle);
        }
예제 #2
0
        public void SendAt(SequencerEvent evt, uint time, bool absolute)
        {
            ThrowIfDisposed();

            evt.ThrowIfDisposed();

            var ret = LibFluidsynth.fluid_sequencer_send_at(Handle, evt.Handle, time, absolute ? 1 : 0);

            if (ret == LibFluidsynth.FluidFailed)
            {
                throw new FluidSynthInteropException("fluid_sequencer_send_at failed");
            }
        }