After crashing my head against the wall as to why FMOD is refusing to create a stream, I’ve finally figured out what was the problem.
There is a declaration in fmodex.bas
[code:1ytjd2ra]Public Const FMOD_CREATESOUNDEXINFO_SIZE As Long = 96 ‘sizeof(FMOD_CREATESOUNDEXINFO)[/code:1ytjd2ra]
This is incorrect!
Size of the structure is 100 bytes (which you can easily test using LenB). After changing the value from 96 to 100, FMOD is happy again…and so am I. This is for version 4.08.04. I haven’t checked previous versions. Thought this might save a few headaches for VB programmers.
- You must login to post comments
Please login first to submit.