Miles Sound System SDK 7.2a

AILEVENTCB

The function AILEVENTCB specifies a user-defined XMIDI event callback.

S32 AILCALLBACK AILEVENTCB(
  HSEQUENCE sequence,
  HMDIDRIVER mdi,
  S32 status,
  S32 data_1,
  S32 data_2
);

In Parameters

sequence
indicates the sequence handle that generated the callback.
mdi
indicates the driver that generated the callback.
status
indicates the MIDI Channel Voice message status which is about to be processed.
data_1
indicates the MIDI Channel Voice message first data byte which is about to be processed.
data_2
indicates the MIDI Channel Voice message second data byte which is about to be processed.

Returns

The callback function should return 0 to enable MSS to process the event and send it on to the driver layer, or 1 to inhibit further processing of the event.

Discussion

See AIL_send_channel_voice_message for more information on Channel Voice message formats.


Group: XMIDI Services
Related Functions: AIL_register_event_callback, AIL_send_channel_voice_message
Related Basic Types: HMDIDRIVER, HSEQUENCE, S32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.