Class ReaderSettings
Settings according to which
MidiReader should read MIDI data.
Inheritance
ReaderSettings
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class ReaderSettings
Properties
Buffer
Declaration
public byte[] Buffer { get; set; }
Property Value
BufferSize
Declaration
public int BufferSize { get; set; }
Property Value
Exceptions
BufferingPolicy
Gets or sets a rule according to which MIDI data should be buffered before reading.
The default is
UseFixedSizeBuffer.
Declaration
public BufferingPolicy BufferingPolicy { get; set; }
Property Value
Exceptions
BytesPacketMaxLength
Gets or sets the maximum length of a bytes packet that will be used by
MidiTokensReader.
Declaration
public int BytesPacketMaxLength { get; set; }
Property Value
Exceptions
NonSeekableStreamBufferSize
Gets or sets internal buffer for reading MIDI data from non-seekable stream.
Declaration
public int NonSeekableStreamBufferSize { get; set; }
Property Value
Exceptions
NonSeekableStreamIncrementalBytesReadingStep
Gets or sets size of chunk for incremental reading of MIDI data from non-seekable stream.
Declaration
public int NonSeekableStreamIncrementalBytesReadingStep { get; set; }
Property Value
Exceptions
NonSeekableStreamIncrementalBytesReadingThreshold
Gets or sets minimum count of bytes to read them from non-seekable stream incrementally instead of
reading them all at once.
Declaration
public int NonSeekableStreamIncrementalBytesReadingThreshold { get; set; }
Property Value
Exceptions