示例#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");
            }
        }