Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RainyAngel

Pages: [1]
1
Audio / Visual Studio 2017 & SFML: Where To Load Audio From
« on: October 21, 2018, 03:04:58 am »
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!

Pages: [1]