[quote="brett":1f2zehba]’pointer passed to it’?[/quote:1f2zehba]
Yes, according to the docs, here is the prototype for FSOUND_Stream_Close:
[code:1f2zehba]signed char F_API FSOUND_Stream_Close(
One passes it a pointer to a FSOUND_STREAM, which one presumably got from FSOUND_Stream_Open. My question was, in addition to closing the stream represented by said pointer, does Stream_Close also delete the pointer itself. It does.
If you mean the stream handle, yes, that is deleted.
Any locked stream buffer pointers should (IIRC) be deleted when the stream is deleted. Brett may have clarification on this point.
Any data pointers you pass in to FMod are your responsibility to clean up.
- Janus answered 15 years ago
Please login first to submit.