c# - Sounds error (MonoGame) -


i using window project (in monogame 3.2) using directx instead opengl. if run game, show me:

"could not load wind asset non-content file"

i think, no problem code (if use project, use opengl same code, sound load , everything working perfect) in directx not working.

of course, "wind" in output set "copy always" , "content". used format wav, wma, mp3, ogg , if use xnb, show

"hresult: [0x80070002]. system cannot find file"

i sure, path sound is correct.

i dont know problem. searching solving problem 2 days, still not success. helping :-)

for audio being called song class, make sure use wma on windows/wp8 , put .wma and/or .xnb files in same folder. songs need wma , sound effects should 16bit wav files. try updating question include code snippets of calls.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -