So I am in VS 2017 and using SFML to add sound into my OpenGL project.
I have a method that calls the Sound Buffer like so:
//initialize sound buffer
if (!buffer.loadFromFile(filePath))
return -1;
else {
return 0;
}
I then simply try to call my wav sound file from the project folder (where the .vcxproj and those files are).
i.e. LoadSound("sound\sound.wav");
However, this call continues to fail. Are my audio files supposed to be somewhere else?
Thanks!