Hi,
have the following error:
Failed to open "data\samba.ogg" for reading
Failed to play audio stream : sound parameters have not been initialized (call Initialize first)
what I've done wrong?
sf::Music muHintergrund;
std::cout << "[Audio]: Loading Media-File \"samba.ogg\"" << std::endl;
if (!muHintergrund.OpenFromFile("data\\samba.ogg"))
{
App.Close();
}
And in front of the main loop:
muHintergrund.Play();
File is existing...