0
0

Hi, I am having trouble getting streaming audio to play in our Windows Metro app. The mode used with createStream is FMOD_SOFTWARE | FMOD_LOOP_NORMAL and the error returned is FMOD_ERR_FILE_BAD, I have checked the AppX directory and it’s definitely in there. We have a Windows Phone 8 version using the same code which works fine.

  • You must to post comments
0
0

Hi Eugene,

What version of FMOD are you using on metro? What style of path are you using (i.e. URL ms-appx:// or a full file path C:\blah)?

  • You must to post comments
0
0

Hi Nick,

We are using the latest version of FMOD Windows 8 Store (4.44). We are using just the filename with no absolute path component, we tried using ms-appx:// but the call just hangs. The files are copied to the AppX directory directly so I’m assuming we can just load the file by it’s name?

Thanks for your help,
Eugene

  • You must to post comments
0
0

Hi Eugene,

Relative paths no longer work in metro apps, It’s a bug in FMOD that it’s returning FILE_BAD instead of FILE_NOTFOUND. Using ms-appx:// syntax will be the easiest way, but do not call any FMOD function that performs synchronous IO from the UI thread or it will hang. Either move it to another thread within your app, or use FMOD_NONBLOCKING in the mode argument.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.