Exemple #1
0
        public SequencerClientId GetClientId(int index)
        {
            ThrowIfDisposed();

            var id = LibFluidsynth.fluid_sequencer_get_client_id(Handle, index);

            if (id == LibFluidsynth.FluidFailed)
            {
                throw new ArgumentException("Sequencer client not found.");
            }

            return(new SequencerClientId(id));
        }