NDSummary.OnToolTipsLoaded("File:ayfx/ayfx_player.h",{35:"
void ayFX_InitBank(
voidbank
)
Setup the ayFX replayer
",36:"
u8 ayFX_PlayBank(
u8 id,
u8 prio
)
Play a ayFX sound
",37:"
void ayFX_Play(
voiddata
)
Play a SFX directly from data pointer
",38:"
void ayFX_Stop()
Stop the sound playback
",39:"
void ayFX_Mute()
Stop the sound playback and mute the channel
",40:"
void ayFX_Update()
Play a frame of an ayFX stream
",41:"
inline void ayFX_SetMode(
u8 mode
)
Set channel mode
",42:"
inline void ayFX_SetChannel(
u8 chan
)
Set the channel to use for sound playback
",43:"
inline u8 ayFX_GetChannel()
Get the channel used for sound playback
",44:"
inline u8 ayFX_GetBankNumber()
Get number of sound in the bank
",45:"
inline void ayFX_SetFinishCB(
callback cb
)
Set the function to be call when a sound ended
"});