SFML community forums
Help => General => Topic started by: The Illusionist Mirage on November 16, 2013, 02:34:39 pm
-
Hello
Suppose I want to create a simple audio player using SFML, is it possible to display audio info like artist, album, year, etc. as with Windows Media player or others?
Thanks
EDIT:
Are Mp3 files also supported in SFML? And can you please tell all the formats supported?
-
Yes you can display the information, just use sf::Font and sf::Text ;)
On a more serious note, if you are talking about reading the meta tag information from the audio files you will need to find something other than SFML to read that. Either another library or OS specific code.
-
Yea, I was talking about the data that comes with the file. Thanks now I understand.
-
Are Mp3 files also supported in SFML? And can you please tell all the formats supported?
Mp3 is not supported as stated in the tutorial. All the other formats can be found in the documentation. ;)
-
Thanks! :)