Attempting to open a file named é_test\announcer\win1.ogg I get the following message:
FMOD error! (28) "An error occurred that wasn't supposed to. Contact support.", filename C:\é_test\announcer\win1.ogg.
This issue was reported by a user who had no sound because the base directory they had placed the application in had an é in it, and I narrowed it down to FMOD itself not liking the é character in a sound filename:
- Renaming the directory to anything without an
éin it works just fine. - Opening the same
const char *filenamepassed to the function myself, reading the contents into memory, and usingFMOD_OPENMEMORYwith anFMOD_CREATESOUNDEXINFOalso works fine. The problem is that that incurs the overhead I’d like to avoid withFMOD_NONBLOCKING.
I’d be surprised if this hasn’t been reported/fixed before, so please tell me I’m doing something wrong!
Mike Z