01-09-2023, 05:37 PM
That example makes things more clear that the string buffer has to be treated like an actual sound file that is loaded. Eg. a raw wave file buffer could be created rather easily, but make sure to make room at the front for the wave file header, and to create the header correctly. This is actually pretty cool to be able to handle a wide variety of sound file formats.
However, that example looks a bit complicated, uses _INFLATE$ but isn't the content of an MP3 file already compressed?
However, that example looks a bit complicated, uses _INFLATE$ but isn't the content of an MP3 file already compressed?