0
0

hello

if I fetch an FMOD::Event* from EventGroup::getEvent or EventSystem::getEvent, and look at the value of the pointer in debug in my code, I see values like 0x00000001 and 0x00000002

these don’t seem like normal memory values.

I guess I don’t care that much as long as things work, but if I fetch the same event twice, at different times (and it’s max playbacks is set to 1 in the design too) I would expect to get the same value back for the pointer, but instead I get increasing values?

what do these values mean?
and how can I test for the same event, aside from doing a string compare?

thanks in advance
Greg

  • You must to post comments
0
0

Hi,
The value you get back is not a pointer, and it is always unique, because it is reference counted. It is unlikely to be 0x1 though, it usually has bits set higher in the dword.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.