N64FlashcartMenu
|
Menu Sound. More...
Go to the source code of this file.
Macros | |
#define | SOUND_MP3_PLAYER_CHANNEL (0) |
#define | SOUND_SFX_CHANNEL (2) |
Enumerations | |
enum | sound_effect_t { SFX_CURSOR , SFX_ERROR , SFX_ENTER , SFX_EXIT , SFX_SETTING } |
Enumeration of available sound effects for menu interactions. More... | |
Functions | |
void | sound_init_default (void) |
Initialize the default sound system. | |
void | sound_init_mp3_playback (void) |
Initialize the MP3 playback system. | |
void | sound_init_sfx (void) |
Initialize the sound effects system. | |
void | sound_use_sfx (bool) |
Enable or disable sound effects. | |
void | sound_play_effect (sound_effect_t sfx) |
Play a specified sound effect. | |
void | sound_deinit (void) |
void | sound_poll (void) |
Menu Sound.
#define SOUND_MP3_PLAYER_CHANNEL (0) |
Channel for MP3 player sound
#define SOUND_SFX_CHANNEL (2) |
Channel for sound effects
enum sound_effect_t |
Enumeration of available sound effects for menu interactions.
This enumeration defines the different sound effects that can be used for menu interactions.
void sound_init_default | ( | void | ) |
Initialize the default sound system.
This function initializes the default sound system, setting up necessary resources and configurations.
void sound_init_mp3_playback | ( | void | ) |
Initialize the MP3 playback system.
This function initializes the MP3 playback system, preparing it for playing MP3 files.
void sound_init_sfx | ( | void | ) |
Initialize the sound effects system.
This function initializes the sound effects system, setting up necessary resources and configurations for playing sound effects.
void sound_use_sfx | ( | bool | state | ) |
Enable or disable sound effects.
enable | True to enable sound effects, false to disable. |
void sound_play_effect | ( | sound_effect_t | sfx | ) |
Play a specified sound effect.
sfx | The sound effect to play, as defined in sound_effect_t. |