Hi,
I’m trying to make a music game, similar to audiosurf, and I’m using mpg123 to decode MP3 files, but i have no idea how to actually play the music from raw PCM data i get from the decoder?
I tried using USoundWave but setting RawPCMData and RawPCMDataSize results in a crash (CrashIfClientPRovidedBogusAudioBufferList).
If you look in Engine/Plugins/Runtime/SoundMod you’ll find the plugin which provides MOD support which does basically what you want to do - decode on your own and present the engine with a constantly updating stream of audio data.