ScummVM API documentation
mt32emu_report_handler_i_v1 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)
 
void(* onLCDStateUpdated )(void *instance_data)
 
void(* onMidiMessageLEDStateUpdated )(void *instance_data, mt32emu_boolean led_state)
 

Member Data Documentation

◆ getVersionID

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

Returns the actual interface version ID

◆ printDebug

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

Callback for debug messages, in vprintf() format

◆ onErrorControlROM

void( * mt32emu_report_handler_i_v1::onErrorControlROM) (void *instance_data)

Callbacks for reporting errors

◆ showLCDMessage

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

Callback for reporting about displaying a new custom message on LCD

◆ onMIDIMessagePlayed

void( * mt32emu_report_handler_i_v1::onMIDIMessagePlayed) (void *instance_data)

Callback for reporting actual processing of a MIDI message

◆ onMIDIQueueOverflow

mt32emu_boolean( * mt32emu_report_handler_i_v1::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_v1::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_v1::onDeviceReset) (void *instance_data)

Callbacks for reporting system events

◆ onNewReverbMode

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

Callbacks for reporting changes of reverb settings

◆ onPolyStateChanged

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

Callbacks for reporting various information

◆ onLCDStateUpdated

void( * mt32emu_report_handler_i_v1::onLCDStateUpdated) (void *instance_data)
  • Invoked to signal about a change of the emulated LCD state. Use mt32emu_get_display_state to retrieve the actual data. * This callback will not be invoked on further changes, until the client retrieves the LCD state.

◆ onMidiMessageLEDStateUpdated

void( * mt32emu_report_handler_i_v1::onMidiMessageLEDStateUpdated) (void *instance_data, mt32emu_boolean led_state)

Invoked when the emulated MIDI MESSAGE LED changes state. The led_state parameter represents whether the LED is ON.


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