[Unreal] Streaming audio threading issue


(BT2142) #1

Hi,
I am using FMOD to play streaming audio from net in unreal engine. However when a stream is buffering the game thread is affected and hangs… As i know FMOD is handeling its own threads, i was wondering if i can fix this within FMOD, or is it a unreal related issue?

Thanks

Mich


(Cameron Baron) #2

You should be able to use FMOD_NONBLOCKING to have the sound open or load in the background. You can use Sound::getOpenState to determine if it has finished loading / opening or not. While it is loading (not ready), sound functions are not accessable for that sound.


(BT2142) #3

Thanks,. that works fine!