Set the event callback function. It will be called when an event is triggered. If ARKOS_USE_EVENT is TRUE, this function MUST be called before any call to AKG_Update.
",22:"
void AKG_Stop()
Stop current music playback
",23:"
bool AKG_Update()
Decode a music frame and update the PSG (must be called once each frame)
",24:"
u8 AKG_InitSFX(
const
void*
data
)
Initialize sound effects. It MUST be called at any time before a first sound effect is triggered. It doesn\'t matter whether a song is playing or not, or even if AKG_Init has been initialized.
",25:"
void AKG_PlaySFX(
u8
sfx,
u8
chan,
u8
vol
)
Plays a sound effect. If a previous one was already playing on the same channel, it is replaced. This does not actually plays the sound effect, but programs its playing.
",26:"
void AKG_StopSFX(
u8
chan
)
Stops a sound effect. Nothing happens if there was no sound effect.