midiclientutility.h File Reference

Enum TMidiState

Defines the state of the MIDI client utility with regard to the MIDI resource.

EnumeratorValueDescription
EMidiStateClosedDisengaged

No MIDI resource is currently open. The MIDI engine is not processing midi events.

EMidiStateOpenDisengaged

A MIDI resource is open and primed but not playing. The MIDI engine is not processing midi events.

EMidiStateOpenPlaying

A MIDI resource is open and currently playing. The MIDI engine is currently processing midi events.

EMidiStatePlaybackIncompatible

Not able to play full SP-MIDI or DLS content, but attempting best-effort playback.

EMidiStatePlaybackSilent

Due to system resource constraints and SP-MIDI content constraints, there is no audible MIDI content during playback currently. The situation may change if resources are freed later.

EMidiStateClosedEngaged

No MIDI resource is currently open. The MIDI engine is currently processing midi events.

EMidiStateOpenEngaged

A MIDI resource is open and primed but not playing. The MIDI engine is currently processing MIDI events. The transition to this state is only possible from EMidiStateOpenPlaying state, when the 'playback head' reaches the end of media data or the playback stops due to stop time set.