ScummVM API documentation
mt32emu_report_handler_i_v0 Struct Reference

Public Attributes

mt32emu_report_handler_version(* getVersionID )(mt32emu_report_handler_i i)
 
void(* printDebug )(void *instance_data, const char *fmt, va_list list)
 
void(* onErrorControlROM )(void *instance_data)
 
void(* onErrorPCMROM )(void *instance_data)
 
void(* showLCDMessage )(void *instance_data, const char *message)
 
void(* onMIDIMessagePlayed )(void *instance_data)
 
mt32emu_boolean(* onMIDIQueueOverflow )(void *instance_data)
 
void(* onMIDISystemRealtime )(void *instance_data, mt32emu_bit8u system_realtime)
 
void(* onDeviceReset )(void *instance_data)
 
void(* onDeviceReconfig )(void *instance_data)
 
void(* onNewReverbMode )(void *instance_data, mt32emu_bit8u mode)
 
void(* onNewReverbTime )(void *instance_data, mt32emu_bit8u time)
 
void(* onNewReverbLevel )(void *instance_data, mt32emu_bit8u level)
 
void(* onPolyStateChanged )(void *instance_data, mt32emu_bit8u part_num)
 
void(* onProgramChanged )(void *instance_data, mt32emu_bit8u part_num, const char *sound_group_name, const char *patch_name)
 

Member Data Documentation

◆ getVersionID

mt32emu_report_handler_version( * mt32emu_report_handler_i_v0::getVersionID) (mt32emu_report_handler_i i)

Returns the actual interface version ID

◆ printDebug

void( * mt32emu_report_handler_i_v0::printDebug) (void *instance_data, const char *fmt, va_list list)

Callback for debug messages, in vprintf() format

◆ onErrorControlROM

void( * mt32emu_report_handler_i_v0::onErrorControlROM) (void *instance_data)

Callbacks for reporting errors

◆ showLCDMessage

void( * mt32emu_report_handler_i_v0::showLCDMessage) (void *instance_data, const char *message)

Callback for reporting about displaying a new custom message on LCD

◆ onMIDIMessagePlayed

void( * mt32emu_report_handler_i_v0::onMIDIMessagePlayed) (void *instance_data)

Callback for reporting actual processing of a MIDI message

◆ onMIDIQueueOverflow

mt32emu_boolean( * mt32emu_report_handler_i_v0::onMIDIQueueOverflow) (void *instance_data)
  • Callback for reporting an overflow of the input MIDI queue. * Returns MT32EMU_BOOL_TRUE if a recovery action was taken * and yet another attempt to enqueue the MIDI event is desired.

◆ onMIDISystemRealtime

void( * mt32emu_report_handler_i_v0::onMIDISystemRealtime) (void *instance_data, mt32emu_bit8u system_realtime)
  • Callback invoked when a System Realtime MIDI message is detected in functions * mt32emu_parse_stream and mt32emu_play_short_message and the likes.

◆ onDeviceReset

void( * mt32emu_report_handler_i_v0::onDeviceReset) (void *instance_data)

Callbacks for reporting system events

◆ onNewReverbMode

void( * mt32emu_report_handler_i_v0::onNewReverbMode) (void *instance_data, mt32emu_bit8u mode)

Callbacks for reporting changes of reverb settings

◆ onPolyStateChanged

void( * mt32emu_report_handler_i_v0::onPolyStateChanged) (void *instance_data, mt32emu_bit8u part_num)

Callbacks for reporting various information


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