0
0

How do they square together?

Using FMOD_OPENMEMORY_POINT option implies that user supplies buffer and FMOD uses it as is, without copying to internal buffer structure.

Problem is that garbage collector can move user supplied buffer as program runs.

I am wondering whether FMOD takes care of this somehow or it is up to user to take care of this (e.g. by ensuring that buffer stays fixed)?

Best
ZoranK

  • You must to post comments
0
0

Hi,

FMOD is a c/c++ library so it doesn’t know about managed memory. If you want to use FMOD_OPENMEMORY_POINT, you should allocated unmanaged memory for FMOD to point to.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.