0
0

It looks to me like the documentation is wrong on the lock function for a sound. The documentation, says that the offset and the lenght are in bytes. However, I used the lock function at several places in my code and it seems that the LENGTH is in SAMPLE and not in bytes…

FMOD_RESULT Sound::lock(
unsigned int offset,
unsigned int length,
void ** ptr1,
void ** ptr2,
unsigned int * len1,
unsigned int * len2
);

  • You must to post comments
0
0

no, it is bytes.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.