Miles Sound System SDK 7.2a

AILTIMBRECB

The function AILTIMBRECB specifies a user-defined XMIDI timbre installation callback.

S32 AILCALLBACK AILTIMBRECB(
  HMDIDRIVER mdi,
  S32 bank,
  S32 patch
);

In Parameters

mdi
indicates the driver that generated the callback.
bank
indicates the XMIDI Patch Bank Select value for the timbre.
patch
indicates the MIDI Program Change value for the timbre.

Returns

The callback function should return 0 to enable the XMIDI driver to install the timbre, or 1 to inhibit timbre installation.


Group: XMIDI Services
Related Functions: AIL_register_timbre_callback
Related Basic Types: HMDIDRIVER, S32

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