| Miles Sound System SDK 7.2a |
The function AILPREFIXCB specifies a user-defined XMIDI prefix callback.
S32 AILCALLBACK AILPREFIXCB( HSEQUENCE sequence, S32 channel, S32 value ); |
This callback should return a value from 0 to 127, which is used instead of the value for the next MIDI or XMIDI controller event which occurs in the same sequence and MIDI channel.
It is possible to use the value returned from the Callback Prefix function to override the values of XMIDI controllers such as Sequence Branch (109) or For...Next/Break (116/117). More conventional MIDI controllers such as Part Volume (7), Panpot (10), or Reverb (91) can also be altered interactively.
Group:
XMIDI Services
Related Functions:
AIL_register_prefix_callback
Related Basic Types:
HSEQUENCE, S32
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.