Not sure what I have done wrong or what I am missing but when I run this code I get
"Failed to open sound file "canary.wav" (couldn't open stream) message.
My code is:
sf::SoundBuffer music;
if (!music.loadFromFile("canary.wav"))
{
std::cout << "Error" << std::endl;
}
sf::Sound buffer(music);
buffer.play();