0
0

Hi,

I currently loads mp3 streams from memory by first loading the file into a memory buffer (from my own big data file). Then I use FSOUND_Stream_OpenFile with the LOADMEMORY flag to load the stream.

My question is then – who should release the memory and when? Does FSOUND_Stream_OpenFile copy the memory buffer to its own buffer which is what is disallocates when I call FSOUND_Stream_Close on the loaded stream. In this case it seems I’m free to delete the memory buffer as soon as the stream is loaded ?

Kasper

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.