NDSummary.OnToolTipsLoaded("File:pt3/pt3_player.h",{318:"
void PT3_Init()
Initialize the PT3 player
",319:"
void PT3_InitSong(
const voidsongADDR
)
Initialize a given song to make it ready to playback
",320:"
void PT3_Pause()
Pause song playback
",321:"
void PT3_Resume()
Resume song playback
",322:"
void PT3_SetLoop(
bool loop
)
Change state of playback loop
",323:"
void PT3_Silence()
Silence the PSG
",324:"
void PT3_Decode()
Decode a frame from PT3 song
",325:"
void PT3_UpdatePSG()
Send data to PSG registers Must be executed on each V-Blank interruption
",327:"
inline void PT3_SetNoteTable(
const voidnt
)
Set notes table
",328:"
inline bool PT3_GetLoop()
Check if loop flag is set
",329:"
inline bool PT3_IsPlaying()
Check if playback flag is set
",330:"
inline void PT3_Play()
Play the current music
",331:"
inline u8 PT3_GetVolume(
u8 chan
)
Get the current amplitude of a given channel
",332:"
inline u16 PT3_GetFrequency(
u8 chan
)
Get the current frequency of a given channel
",333:"
inline u8 PT3_GetPSGRegister(
u8 reg
)
Get a given PSG register value
",335:"
inline u8 PT3_GetPattern()
Get the current pattern number
",336:"
inline void PT3_Mute(
u8 chan,
bool mute
)
Mute a given channel
",337:"
inline void PT3_SetFinishCB(
callback cb
)
Set the function to be call when the music ended
",338:"
inline void PT3_ResetFinishCB()
Reset the function to be call when the music ended
"});