The libmsx audio replayer.
The audio decoder interface for the libmsx audio replayer.
uint32_t bmemptr_t
Type of an address of banked memory.
const AudioDecoder LA0_SFX_DECODER
LA0 SFX decoder.
const AudioDecoder LA0_BGM_DECODER
LA0 BGM decoder.
uint16_t la0_get_bgm_total_samples(void)
MSX Return the total number of BGM samples.
uint8_t la0_get_bgm_frequency(void)
MSX Return default frequency of the current background music.
uint16_t la0_get_bgm_loop_samples(void)
MSX Return the number of samples in the loop portion of BGM.
uint8_t la0_get_bgm_loop_counter(void)
MSX Return the loop counter value.
int la0_open_mem(MemFile *mf, const uint8_t *loc, size_t size)
MSX Open LA0 file stored in ROM / RAM.
int la0_open_bmem(MemFile *mf, bmemptr_t loc, uint32_t size)
MSX Open LA0 file stored in banked memory (MegaROM).
int la0_open_resource(MemFile *mf, const char *path)
MSX Open LA0 file stored as named resources in banked memory (MegaROM).
void la0_set_sfx(uint8_t idx, MemFile *mf)
MSX Set a song in the LA0 file to the LA0 audio decoder, as sound effects (SFX).
void la0_set_sfx_with_priority(uint8_t idx, MemFile *mf, uint8_t priority)
MSX Set a song in the LA0 file to the LA0 audio decoder, as sound effects (SFX).
void la0_set_bgm(uint8_t idx, MemFile *mf)
MSX Set a song in the LA0 file to the LA0 audio decoder, as background music (BGM).
Stream interface for ROM / RAM / MegaROM.
Internal structure of MemFile type.
The audio decoder interface.