I have this bit here:
sf::Music test;
if (!test.OpenFromFile("test.ogg"))
{
std::cout << "Oh No!" << std::endl;
}
elsae
{
test.Play();
}
Which doesn't play the audio! However, if I append this right after "test.Play();"
for (;;);
The Music plays as expected. I've also tried adding test.Play(); in the ::update(); method that's called every frame.
What could the issue be? Thanks for any help!