| void ayFX_InitBank( |
| ) |
Setup the ayFX replayer
| bank | Pointer to the ayFX bank data |
| u8 ayFX_PlayBank( |
| ) |
Play a ayFX sound
| id | Sound index in the bank |
| prio | Priority of the sound (0-15). 0 is the highest priority. |
Error number (if any). See <AYFX_ERROR>.
| void ayFX_Play( |
| ) |
Play a SFX directly from data pointer
| file | Pointer to AFX file data |
Stop the sound playback
Stop the sound playback and mute the channel
Play a frame of an ayFX stream
| inline void ayFX_SetMode( |
| ) |
Set channel mode
| mode | Playback mode. See <AYFX_MODE>. |
| inline void ayFX_SetChannel( |
| ) |
Set the channel to use for sound playback
| chan | Channel number for sound playback. |
Get the channel used for sound playback
Channel numberused for sound playback.
Get number of sound in the bank
Number of sound in the bank
| inline void ayFX_SetFinishCB( |
| ) |
Set the function to be call when a sound ended
| cb | Function pointer to be called when sound end |