1
Audio / Re: "Failed to open sound file "FOO.wav" (format not supported)" for any format
« on: August 01, 2015, 01:57:55 pm »
Well, at least it works with the minimal code example you gave, so that's good news.
I noticed when I run the program without having the file present I get the error of "(format not supported)". So I think the problem is somehow I have working directory set to a wrong value when I run my application, resulting in it not being able to find the file.
The error message is a bit confusing in this regard, instead of saying "format not supported" it should say "file not found".
Anyways, I'll have look to see if I can get it to work in my project...
EDIT:
When I edit the working directory, it loads fine! It still doesn't play, but that's probably due to some unknown bug in my code.
I noticed when I run the program without having the file present I get the error of "(format not supported)". So I think the problem is somehow I have working directory set to a wrong value when I run my application, resulting in it not being able to find the file.
The error message is a bit confusing in this regard, instead of saying "format not supported" it should say "file not found".
Anyways, I'll have look to see if I can get it to work in my project...
EDIT:
When I edit the working directory, it loads fine! It still doesn't play, but that's probably due to some unknown bug in my code.