0
0

I don’t know if it is lack of sleep or I just don’t understand it enough but I am trying to load an MP3 to memory then play it back.

I use

StreamA = FSOUND_Sample_Load(FSOUND_FREE,sFilepath,FSOUND_LOADMEMORY,1000)

Is this correct? if so how come it returns a 0 on my machine?

Would I still play it with

ChannelA = FSOUND_Stream_Play(FSOUND_FREE, StreamA)

  • You must to post comments
0
0

Ok this is understandable a little more now.

Now I use FSOUND_Sample_Load to load from memory.

What do I use to load stuff to memory to use the FSOUND_Sample_Load?

the playing function was just a confusion.

  • You must to post comments
0
0

Read the hole file in a array of byte and pass the address via VarPtr(pData(0)), i don’t know if it ll work, it is just an idea :roll:

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.