# \[Unreal\] Streaming audio threading issue

**URL:** <https://qa.fmod.com/t/unreal-streaming-audio-threading-issue/13873>\
**Category:** FMOD Studio\
**Created:** [May 14, 2018, 4:42pm UTC](https://qa.fmod.com/t/unreal-streaming-audio-threading-issue/13873 "2018-05-14T16:42:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BT2142](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@BT2142](https://qa.fmod.com/u/BT2142)\
**Post date:** [May 14, 2018, 4:42pm UTC](https://qa.fmod.com/t/unreal-streaming-audio-threading-issue/13873/1 "2018-05-14T16:42:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 20, 2018, 11:39pm UTC](https://qa.fmod.com/t/unreal-streaming-audio-threading-issue/13873/2 "2018-05-20T23:39:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![BT2142](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@BT2142](https://qa.fmod.com/u/BT2142)\
**Post date:** [May 21, 2018, 11:07am UTC](https://qa.fmod.com/t/unreal-streaming-audio-threading-issue/13873/3 "2018-05-21T11:07:35Z")

</div>

Thanks,. that works fine!
