#include <revolution.h>
#include <revolution/syn.h>
typedef void (*SYNCallback)(AXVPB *axvpb, SYNSYNTH *synth, u8 midiChannel);
SYNCallback SYNSetInitCallback(SYNSYNTH *synth, SYNCallback callback);
| synth | pointer to the user-initialized SYNSYNTH data structure |
| callback | Callback to be registered. |
Pointer to the previous callback function.
The SYNSetInitCallback function registers a callback function to be called at note on for the specified synthesizer.
Use this callback function when outputing a voice from the controller speaker via a synthesizer.
08/03/2006 Initial version.
CONFIDENTIAL