Question

I am using the Window Project (in MonoGame 3.2) which is using DirectX instead OpenGL. If I run a game, so its show me:

"Could not load wind asset as a non-content file"

I think, that is no problem with my code (If I use project, which is use OpenGL with the same code, so the sound load and everything working perfect) but in DirectX is not working.

Of course, that "wind" in output is set to "copy always" and "content". I used format wav, wma, mp3, ogg and if I use xnb, so it show

"HRESULT: [0x80070002]. System cannot find a file"

I am sure, that path to sound is correct.

I dont know where is the problem. I am searching for the solving this problem two days, but still not with success. Thanks for helping :-)

Was it helpful?

Solution

For audio being called as the Song class, make sure to use WMA on Windows/WP8 and put the .wma and/or .xnb files in the same folder. Songs need to be WMA and sound effects should be 16bit WAV files. Try updating your question to include code snippets of your calls.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top