| N64FlashcartMenu
    | 
MP3 Player component implementation. More...
| Data Structures | |
| struct | mp3player_t | 
| MP3 File Information Structure.  More... | |
| Macros | |
| #define | MINIMP3_IMPLEMENTATION | 
| #define | MINIMP3_ONLY_MP3 | 
| #define | SEEK_PREDECODE_FRAMES (5) | 
| Functions | |
| void | mp3player_mixer_init (void) | 
| Initialize the MP3 player mixer. | |
| mp3player_err_t | mp3player_init (void) | 
| Initialize the MP3 player. | |
| void | mp3player_deinit (void) | 
| Deinitialize the MP3 player. | |
| mp3player_err_t | mp3player_load (char *path) | 
| Load an MP3 file. | |
| void | mp3player_unload (void) | 
| Unload the MP3 file. | |
| mp3player_err_t | mp3player_process (void) | 
| Process the MP3 player. | |
| bool | mp3player_is_playing (void) | 
| Check if the MP3 player is playing. | |
| bool | mp3player_is_finished (void) | 
| Check if the MP3 player has finished playing. | |
| mp3player_err_t | mp3player_play (void) | 
| Play the MP3 file. | |
| void | mp3player_stop (void) | 
| Stop the MP3 player. | |
| mp3player_err_t | mp3player_toggle (void) | 
| Toggle the MP3 player between play and stop. | |
| void | mp3player_mute (bool mute) | 
| Mute or unmute the MP3 player. | |
| mp3player_err_t | mp3player_seek (int seconds) | 
| Seek to a specific position in the MP3 file. | |
| float | mp3player_get_duration (void) | 
| Get the duration of the MP3 file. | |
| float | mp3player_get_bitrate (void) | 
| Get the bitrate of the MP3 file. | |
| int | mp3player_get_samplerate (void) | 
| Get the sample rate of the MP3 file. | |
| float | mp3player_get_progress (void) | 
| Get the progress of the MP3 file playback. | |
MP3 Player component implementation.
| struct mp3player_t | 
MP3 File Information Structure.
| void mp3player_mixer_init | ( | void | ) | 
Initialize the MP3 player mixer.
This function initializes the mixer for the MP3 player.
| mp3player_err_t mp3player_init | ( | void | ) | 
Initialize the MP3 player.
| void mp3player_deinit | ( | void | ) | 
Deinitialize the MP3 player.
This function deinitializes the MP3 player and releases any resources.
| mp3player_err_t mp3player_load | ( | char * | path | ) | 
Load an MP3 file.
| path | Path to the MP3 file. | 
| void mp3player_unload | ( | void | ) | 
Unload the MP3 file.
Unload the current MP3 file.
| mp3player_err_t mp3player_process | ( | void | ) | 
Process the MP3 player.
| bool mp3player_is_playing | ( | void | ) | 
Check if the MP3 player is playing.
| bool mp3player_is_finished | ( | void | ) | 
Check if the MP3 player has finished playing.
| mp3player_err_t mp3player_play | ( | void | ) | 
Play the MP3 file.
Start playback of the MP3 file.
| void mp3player_stop | ( | void | ) | 
Stop the MP3 player.
Stop playback of the MP3 file.
| mp3player_err_t mp3player_toggle | ( | void | ) | 
Toggle the MP3 player between play and stop.
Toggle playback of the MP3 file.
| void mp3player_mute | ( | bool | mute | ) | 
Mute or unmute the MP3 player.
| mute | True to mute, false to unmute. | 
| mp3player_err_t mp3player_seek | ( | int | seconds | ) | 
Seek to a specific position in the MP3 file.
| seconds | Number of seconds to seek. | 
| float mp3player_get_duration | ( | void | ) | 
Get the duration of the MP3 file.
| float mp3player_get_bitrate | ( | void | ) | 
Get the bitrate of the MP3 file.
| int mp3player_get_samplerate | ( | void | ) | 
Get the sample rate of the MP3 file.
| float mp3player_get_progress | ( | void | ) | 
Get the progress of the MP3 file playback.
Get the current playback progress.