Function to store audio file into memory buffer (and use that buffer).

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Function to store audio file into memory buffer (and use that buffer).

fredvs
Administrator
Hello.

Added AddFromFileIntoMemory() in last commit 610ed5c..d12dca7.

This decodes a audio file and store the result into a memory buffer.
That memory buffer will be used to play the sound.

You may take a look at Simple_Drums demo, it shows how it works.

PS: Be careful, this uses lot of ram memory (if your file is big).

Enjoy.

Fre;D