Loading an audio file in my game sometimes take a long time and causes my program to wait. I was suggested to use a thread to solve this, but using Fsound_sample_load seems to not do as I expected it to do. Is the a good solution and should it work?
Also, when my game is not the foreground window I make the music pause. However, when I do this and return back to my game and the music has looped 2 times or more it will resume back to where ever it was paused on the first loop. This only happens with mid music. Why does this happen and whats a cure for it?
For this I'm using the second latest version of Fmod.