0
0

Hi!

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.

Cheers,
Arcom

  • You must to post comments
0
0

Thanks arcom, I’ll get that updated for our next release. Actually, it would be better to use LenB than the hardcoded size. I wasn’t aware there was a sizeof equivalent in vb6. I will update the examples to use LenB.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.