SYNSetUpdateCallback

C Specification

#include <revolution.h>
#include <revolution/syn.h>
typedef void (*SYNCallback)(AXVPB *axvpb, SYNSYNTH *synth, u8 midiChannel);
SYNCallback SYNSetUpdateCallback(SYNSYNTH *synth, SYNCallback callback);

Arguments

synth pointer to the user-initialized SYNSYNTH data structure
callback Callback to be registered.

Return Values

Pointer to the previous callback function.

Description

SYNSetUpdateCallback() registers a user-application callback that is invoked every three milliseconds for each audio frame for the specified synthesizer.

Use this callback function when outputing a voice from the controller speaker via a synthesizer.

See Also

Revision History

08/03/2006 Initial version.


CONFIDENTIAL