|
libmsx
C library for MSX
|
Collaboration diagram for Set a song in LA0 file to the decoder.:Functions | |
| 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). | |
| 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).
| idx | Song number. |
| mf | Pointer to opened memory-file pointer. |
| 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).
| idx | Song number. |
| mf | Pointer to opened memory-file pointer. |
| 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).
If a SFX is not being played, or if the given priority is higher than or equal to that of the currently playing SFX, the specified SFX will be played. Otherwise, nothing will be done.
| idx | Song number. |
| mf | Pointer to opened memory-file pointer. |
| priority | Priority of the SFX. |