BASS.NET API for the Un4seen BASS Audio LibraryMIDI_HEADER MembersBASS.NET API for the Un4seen BASS Audio Library

The MIDI_HEADER type exposes the following members.
Constructors

  NameDescription
Public methodMIDI_HEADER( Byte )
Initializes a new instance of the MIDI_HEADER with the given data buffer.
Public methodMIDI_HEADER(Int32)
Initializes a new instance of the MIDI_HEADER with an empty data buffer of the given size.
Public methodMIDI_HEADER(IntPtr)
Initializes a new instance of the MIDI_HEADER from a given Midi header pointer.
Public methodMIDI_HEADER(String)
Initializes a new instance of the MIDI_HEADER with the string as the data buffer.
Back to Top
Methods

  NameDescription
Public methodPrepare
Prepares the MIDI_HEADER structure and sets the HeaderPtr member.
Public methodToString
Returns the Data buffer as a string.
(Overrides OnlineObject ToString .)
Public methodUnprepare
Unprepares the MIDI_HEADER structure and frees all used resources.
Back to Top
Properties

  NameDescription
Public propertyData
The MIDI data buffer.
Public propertyFlags
Gets the flags giving information about the buffer (see MIDIHeader for more information).
Public propertyHeaderPtr
Gets the pointer to the prepared MIDIHDR structure (or OnlineZero if the header was not prepared).
Public propertyIsDone
Indicates if the device driver is finished with the buffer and is returning it to the application.
Public propertyIsPrepared
Indicates if the buffer has been prepared by using the Prepare(Boolean, IntPtr) method.
Public propertyIsStreamBuffer
Indicates if the buffer is a stream buffer.
Public propertyUser
Custom user data.
Back to Top
See Also