ScummVM API documentation
Audio::MidiDriver_Miles_Xmidi_Timbres Class Referenceabstract

#include <miles.h>

Inheritance diagram for Audio::MidiDriver_Miles_Xmidi_Timbres:
Audio::MidiDriver_Miles_Midi Groovie::MusicPlayerXMI

Public Member Functions

virtual void processXMIDITimbreChunk (const byte *timbreListPtr, uint32 timbreListSize)=0
 

Detailed Description

Abstract class containing the interface for loading the XMIDI timbres specified in the timbre chunks of an XMIDI file.

Member Function Documentation

◆ processXMIDITimbreChunk()

virtual void Audio::MidiDriver_Miles_Xmidi_Timbres::processXMIDITimbreChunk ( const byte *  timbreListPtr,
uint32  timbreListSize 
)
pure virtual

Processes the timbre chunk specified for a track in an XMIDI file. This will load the necessary timbres into the MIDI device using SysEx messages.

This function will likely return before all SysEx messages have been sent. Use the isReady method to check if the driver has finished preparing for playback. Playback should not be started before this process has finished.

Implemented in Groovie::MusicPlayerXMI, and Audio::MidiDriver_Miles_Midi.


The documentation for this class was generated from the following file: