NDSummary.OnToolTipsLoaded("File:ndp/ndp_player.h",{254:"
void NDP_Initialize()
Driver initialization. Must be called first before accessing any other functions
",255:"
void NDP_SetMusicData(
const voidaddr
)
Song data start address setting
",256:"
void NDP_Play()
Start playing (clears the work area to zero and starts playing from music start)
",257:"
void NDP_Stop()
Stops playback
",258:"
void NDP_Update()
Update a music frame. Must be called at each graphics frame; ideally from the interrupt code.
",259:"
void NDP_Release()
Release the driver. Only needed if you would like to initilize the driver again
",261:"
Temporary mute channel A
",262:"
Temporary mute channel B
",263:"
Temporary mute channel C
",264:"
inline void NDP_MuteChannel(
u8 channel,
u8 frames
)
Temporary mute the given channel
",265:"
void NDP_SetVolume(
u8 vol
)
Set master volume
",266:"
void NDP_FadeOut(
u8 speed
)
Start fade-out current music
",267:"
void NDP_PlayFadeIn(
u8 speed
)
Starts playing music while fading-in
",268:"
void NDP_SetToneColor(
const voidaddr
)
Set tone color data
",269:"
u16 NDP_GetVersion()
Driver version number
",270:"
inline void NDP_SetInitFlag(
u8 flag
)
Set initialization flag
",272:"
inline void NDP_SetSFXData(
const voidaddr
)
Set sound effects data address
",273:"
inline u8 NDP_GetSFXNumber()
Get the number of sound effect into the current bank.  NDP_SetSFXData must be called first
",274:"
inline u16 NDP_GetSFXOffset(
u8 sfx
)
Get the offset of a given sound effect into the current bank.  NDP_SetSFXData must be called first
",275:"
void NDP_PlaySFX(
u8 sfx
)
Play a given sound effect.  NDP_SetSFXData must be called first
",277:"
inline u8 NDP_GetStatus()
Playing status (NDP_STATUS_xxx)
",278:"
inline bool NDP_IsPlaying()
Whether or not music is currently playing
",279:"
inline bool NDP_IsStopped()
Whether or not music is currently stopped
",280:"
inline bool NDP_HasTrackEnded(
u8 track
)
Whether or not each track has reached the end
",281:"
inline bool NDP_HasMusicEnded()
Whether or not all tracks have reached the end
",282:"
inline u8 NDP_GetLoopCount()
Number of times the music has looped
",283:"
inline u8 NDP_IsFadding()
Fade setting
",284:"
inline u8 NDP_GetFadeType()
Get th fade type
",285:"
inline bool NDP_IsInitialized()
Is the driver initialized
"});