DecodeOgg - Native extension for decoding ogg files in wav.
Standard sound does not work asynchronously. The libraries supporting it receive on input .wav. But this format takes up a lot of space, so I wrote an extension for decoding .ogg to .wav.
I tested the extension with OpenAL. It works great.
I seriously don’t know how this will work with sounds from the performance side. I did not notice problems with playing music.
This extension has proven to be very useful to me. For comparison, the file size without decoding and with it one song.
20.5 mb - > 1.9 mb
In my opinion this is a very good result.
For a smaller size, .wav was in mono
Platforms: windows, android