65#define SND_SPEED_1X (16)
The libmsx audio replayer.
The audio decoder interface for the libmsx audio replayer.
void snd_set_sfx(uint8_t index, const snd_SoundAssets *sa)
MSX Sets the specified music as SFX (sound effects) in the sound driver.
void snd_start(void)
MSX Start / Resume music.
void snd_init(void)
MSX Initialize the PSG and the sound driver.
const AudioDecoder SND_SFX_DECODER
uint8_t snd_get_player_frequency(void)
MSX Returns current player frequency of the background music.
bool snd_is_playing(void)
MSX Return whether BGM and/or SFX is playing or not.
void snd_stop(void)
MSX Stop music.
void snd_set_speed(uint8_t multiplier)
MSX Sets the playback speed multiplier for background music.
void snd_set_sfx_with_priority(uint8_t index, const snd_SoundAssets *sa, uint8_t priority)
MSX Sets the specified music as SFX (sound effects) in the sound driver.
void snd_pause(void)
MSX Pause music.
const AudioDecoder SND_BGM_DECODER
void snd_play(void)
MSX Main routine of the sound driver.
bool snd_is_playing_bgm(void)
MSX Return whether BGM is playing or not.
void snd_set_bgm(uint8_t index, const snd_SoundAssets *sa)
MSX Sets the specified music as BGM in the sound driver.
void snd_set_player_frequency(uint8_t freq)
MSX Force player frequency of the background music.
uint8_t snd_get_bgm_frequency(void)
MSX Returns default frequency of the background music.
void snd_set_repeat(bool repeat)
MSX Turn on/off the auto-repeat of the BGM.
bool snd_is_playing_sfx(void)
MSX Return whether SFX is playing or not.
bool snd_is_paused(void)
MSX Return whether paused or not.
Container of list of musics, instruments, arpeggio tables, and period tables.
Sound / Music data structure for snddrv.
The audio decoder interface.