示例#1
0
        public unsafe string GetClientName(SequencerClientId id)
        {
            ThrowIfDisposed();

            var ptr = LibFluidsynth.fluid_sequencer_get_client_name(Handle, id.Value);

            return(Utility.PtrToStringUTF8(ptr));
        }
示例#2
0
        public void UnregisterClient(SequencerClientId id)
        {
            ThrowIfDisposed();

            _clientCallbacks.Remove(id.Value);

            LibFluidsynth.fluid_sequencer_unregister_client(Handle, id.Value);
        }
示例#3
0
        public void RemoveEvents(SequencerClientId source, SequencerClientId dest, int type)
        {
            ThrowIfDisposed();

            LibFluidsynth.fluid_sequencer_remove_events(Handle, source.Value, dest.Value, type);
        }
示例#4
0
        public bool ClientIsDestination(SequencerClientId id)
        {
            ThrowIfDisposed();

            return(LibFluidsynth.fluid_sequencer_client_is_dest(Handle, id.Value) != 0);
        }