Class WriterSettings
Settings according to which MidiWriter should write MIDI data.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class WriterSettings
Properties
BufferSize
Gets or sets the size of a buffer that will be used by MidiWriter in case of
UseBuffering set to
true
.Declaration
public int BufferSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | value is zero or negative. |
UseBuffering
Gets or sets a value indicating whether MidiWriter should use buffer to
write MIDI data or not. The default value is
true
.Declaration
public bool UseBuffering { get; set; }
Property Value
Type | Description |
---|---|
bool |