[NEW] music::whichMusic()

This commit is contained in:
2023-10-19 15:27:53 +02:00
parent 490dc1e5d6
commit 70720e7e62
2 changed files with 12 additions and 0 deletions

View File

@@ -55,6 +55,10 @@ namespace audio
/// @return estat actual de la música (MUSIC_INVALID, MUSIC_PLAYING, MUSIC_PAUSED o MUSIC_STOPPED)
const music_state getMusicState();
/// @brief Obté el nom de l'arxiu de música actual
/// @return el nom de l'arxiu
std::string whichMusic();
/// @brief Carrega un só des d'un arxiu WAV
/// @param filename nom de l'arxiu
/// @return un punter al só