I am creating a custom file format for my game, the file contains some game assets such as the sprite and the ogg file as the bgm of the game, and i want to load the ogg file without writing it into the disk.
byte[] oggData = GetSoundFromAsset("TestData.customfileformat"); // Will return OGG file in byte array
byte[] wavData = // how to decode the 'oggData' into wav byte array?
oggData = null;
// Do something with 'wavData'
Any kind of help would be appreciated :D