# What does this means? Starvation in wasapi buffer

**URL:** https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853
**Category:** FMOD Studio
**Created:** [July 15, 2019, 10:47am UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853 "2019-07-15T10:47:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Koca](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Koca](https://qa.fmod.com/u/Koca)
#### Post date: [July 15, 2019, 10:47am UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/1 "2019-07-15T10:47:33Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/6e40397e537eaae87243cee5c3aa6e6ae918b033.png)

I get this every time i push play. I am specifically speaking about the first line that says :

Starvation detected in wasapi output buffer

Thank you

---

<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: [July 21, 2019, 10:35pm UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/2 "2019-07-21T22:35:34Z")

</div>

> [@Warnings when building project with UE 4.13 and 1.08.11](https://qa.fmod.com/t/warnings-when-building-project-with-ue-4-13-and-1-08-11/12691/3):
>
> Starvation detected in WASAPI output buffer - This means that the mixer was too slow to output sound briefly. If you are running the UE4 editor it isn’t a big deal since it might well occur if the editor is loading something or exporting, which might cause a CPU spike. If you see it in a real game, then it means that the mixer graph is too heavy and the sound may drop out. The missing DSP plugin message usually means that the plugin hasn’t been loaded, but again in the editor it is something …

---

<div class="post-metadata">

### Author: ![Koca](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Koca](https://qa.fmod.com/u/Koca)
#### Post date: [July 22, 2019, 12:26pm UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/3 "2019-07-22T12:26:54Z")

</div>

Thank you,

Do you think that having 4 with Scatterer instruments ( each having a nested event in the playlist with a multi instrument ), a stereo track and a 6 channel track all in a single ambiance event can cause this warning to “preload sample data to avoid delay”? Is there are limit to how much instruments should be in one event? And btw the tracks are 3 minutes long…

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/7f61db66eaf20d2a169888ec2120a056e0378bdb.png)

Thank you

---

<div class="post-metadata">

### Author: ![Koca](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Koca](https://qa.fmod.com/u/Koca)
#### Post date: [July 22, 2019, 7:30pm UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/4 "2019-07-22T19:30:39Z")

</div>

Also another question, what do you mean by “mixer graph is too heavy”?

I now tried on empty map, with “Load all banks” and “Sample data” turned off and there was no Starvation warning. I than loaded one ambience bank and played just one 2d ambience event with 6 channel loop of 15secs and i got the warning again. My mixer routing looks like this and there is only one multiband EQ on Ambience Grp. So what could have made it heavy? Oh and i turned off live update in UE4

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/b40a30ec2df4e3f62914cafa52181023d3313f71.png)

Thanks

---

<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: [July 23, 2019, 1:09am UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/5 "2019-07-23T01:09:32Z")

</div>

Is this in a built game or in the UE4 editor?

---

<div class="post-metadata">

### Author: ![Koca](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Koca](https://qa.fmod.com/u/Koca)
#### Post date: [July 23, 2019, 6:58pm UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/6 "2019-07-23T18:58:36Z")

</div>

In the editor, i know that you wrote that it isn`t a big deal so i will try it in game asap.  
But i made these tests in editor and it does seem to affect the results, even in the editor.

---

<div class="post-metadata">

### Author: ![Huangminfei](https://avatars.discourse-cdn.com/v4/letter/h/bb73d2/32.png) [@Huangminfei](https://qa.fmod.com/u/Huangminfei)
#### Post date: [September 3, 2021, 2:45am UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/7 "2021-09-03T02:45:37Z")

</div>

I also encountered this situation.And I want to know what the mean of mixer graph is too heavy.Thanks.

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [September 8, 2021, 1:44am UTC](https://qa.fmod.com/t/what-does-this-means-starvation-in-wasapi-buffer/14853/8 "2021-09-08T01:44:51Z")

</div>

I believe this is a reference to the internal dsp architecture inside the core API, which is a directed graph processing tree. There is an upper limit to how much processing can be performed in a single frame, and at that upper limit there is a lot of processing nodes in the graph, thus making the mixer graph “heavy”. More information on the DSP Engine Architecture can be found here [https://fmod.com/resources/documentation-api?version=2.02&page=core-guide.html#dsp-engine-flexible-programmable-soft-synth-architecture](https://fmod.com/resources/documentation-api?version=2.02&page=core-guide.html#dsp-engine-flexible-programmable-soft-synth-architecture)

If you are experiencing this issue you may need to performance tune your audio usage.  
Starting many events at the same time and utilising lots of expensive DSP effects can cause this problem, so reducing the amount of events being played at once and using buses for your expensive DSP effects can be good ways to optimise your FMOD Studio project.
