Multiple Audio Decompressing Threads?

I’m loading Audio Files from the HDD and then decompressing them while the game runs. Then I use the decompressed Data to get the Frequency Spectrum via FFT.

That’s similar to the Audio Visualization Plugin that Epic has in the Engine. Despite the fact that my Plugin actually calculates the correct spectrum and can be packaged.

I didn’t know that the Engine already uses the TaskGraph System, as I’m totally new to this. For the 4.10 Version of the Plugin, I just used the FRunnable to decompress it when needed.

In which classes should I look to find code examples for this? Currently it loads .ogg files. :smiley: It’s just a hobby project. I don’t actually know what I’m doing, but I want to learn a bit more about the threading and create a better 4.11 Version of my plugin.

It would be really helpful to get a good solution for decompressing the .ogg files (and later maybe .wav files too). I tried using the “FAsyncAudioDecompressor” or what ever its called, but couldn’t get the correct sample data from it.