SFML community forums
Help => Audio => Topic started by: santiaboy on January 25, 2013, 02:42:12 am
-
Is there a way to check if the music has been loaded before? (without needing a bool variable)
I read the documentation and I don't seem to find it
-
I'm not sure if that's what you mean but did you try to check if duration is zero?
-
Well, that does solve it.
I wanted to know if there was some kind of music.isLoaded() or anything of the sort
-
If you can't find it in the doc, then it doesn't exist ;)