0
0

Hi there,

I’m wondering if it is possible to play a complete Music Stream which is stored in a TMemoryStream directly? The stream comes from a DataBase and is stored in TMemoryStream. I don’t want to write it to the disk to swap it and load it from there but rather like to pass this TMemoryStream to FMOD directly.

I was searching in the forum and found a topic from 2002. But the solution presented there is also using the way over storing it first to a file and then load it with FSOUND_Stream_Open.

But is it possible now, 3 years later?

Kind regards,
Mario

  • You must to post comments
0
0

you can use the custom file callbacks, most of the callback funtions relate fiarly directly to memory stream methods

  • You must to post comments
0
0

OK, thanks for the tip. I’ll give it a try. Is there some documentation or tutorial directly about this subject? I don’t want to crawl the sample projects. :roll:

  • You must to post comments
0
0

the stream2 example uses user callbacks, note user streams only support uncomressed data

  • You must to post comments
0
0

Why use an extra decompression routine for this purpose if FMOD could handle it? I don’t get it.
I mean, I very well understand that this is by design, but why? This makes no sense to me.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.