Midi Player: Multimedia Midi player example code

The example allows the user to:
  • Play

  • Stop

The Multimedia Framework APIs are called by the example's CMidiPlayerclass that acts as an engine. This also implements the various callback interfaces required by the API in order to report progress and error conditions.

The engine is driven through the example's UI class CMidiPlayingAppUi. The engine has member pointer of CMidiClientUtilityand has methods for play and stop which in turn calls respective method of CMidiClientUtility. The engine also implements callback functions of the MMidiClientUtilityObserverinterface.

Download

Click on the following link to download the example: MidiPlayer.zip file

Click: browse to view the example code

Class summary

MMidiClientUtilityObserver CMidiClientUtility

Usage

Commands are given in the example through its menu – Play and Stop.