ScummVM API documentation
mt32emu_midi_receiver_i_v0 Struct Reference

#include <c_types.h>

Public Attributes

mt32emu_midi_receiver_version(* getVersionID )(mt32emu_midi_receiver_i i)
 
void(* handleShortMessage )(void *instance_data, const mt32emu_bit32u message)
 
void(* handleSysex )(void *instance_data, const mt32emu_bit8u stream[], const mt32emu_bit32u length)
 
void(* handleSystemRealtimeMessage )(void *instance_data, const mt32emu_bit8u realtime)
 

Detailed Description

Interface for receiving MIDI messages generated by MIDI stream parser (initial version)

Member Data Documentation

◆ getVersionID

mt32emu_midi_receiver_version( * mt32emu_midi_receiver_i_v0::getVersionID) (mt32emu_midi_receiver_i i)

Returns the actual interface version ID

◆ handleShortMessage

void( * mt32emu_midi_receiver_i_v0::handleShortMessage) (void *instance_data, const mt32emu_bit32u message)

Invoked when a complete short MIDI message is parsed in the input MIDI stream.

◆ handleSysex

void( * mt32emu_midi_receiver_i_v0::handleSysex) (void *instance_data, const mt32emu_bit8u stream[], const mt32emu_bit32u length)

Invoked when a complete well-formed System Exclusive MIDI message is parsed in the input MIDI stream.

◆ handleSystemRealtimeMessage

void( * mt32emu_midi_receiver_i_v0::handleSystemRealtimeMessage) (void *instance_data, const mt32emu_bit8u realtime)

Invoked when a System Realtime MIDI message is parsed in the input MIDI stream.


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