The "suggested sound type" field in the FMOD_CREATESOUNDINFOEX structure is really cool, thanks for putting it in. The problem is that if the sound format does not match the suggested sound type, you get FMOD_ERR_FORMAT! Failing if the suggestion is wrong sort of does not match with the idea of a "suggestion"
Could you maybe either
[b:2iuk7kwz]1) [/b:2iuk7kwz]Rename it to "specified sound type" or just "sound format"
or
[b:2iuk7kwz]2) [/b:2iuk7kwz]Perform the regular codec scan if the suggested sound type is incorrect.
- Dogbert asked 10 years ago
- You must login to post comments
[quote="brett":2co6ick8]I would recommend you reattempt to load the file without that member set, to get around that problem.[/quote:2co6ick8]
I don’t need to get around the problem, but as a feature request it seems like this is the kind of thing that FMOD could do easily to decrease the complexity of customer code.
- Dogbert answered 10 years ago
- You must login to post comments
I would recommend you reattempt to load the file without that member set, to get around that problem.
- Brett Paterson answered 10 years ago
- You must login to post comments
I think you missed his point. He finds the name misleading. And if what he says is true, then he has a pretty valid point.
- Dysprosium answered 10 years ago
- You must login to post comments
Please login first to submit.