# Sound volume decreases if other sound is played

**URL:** https://qa.fmod.com/t/sound-volume-decreases-if-other-sound-is-played/12671
**Category:** FMOD Studio
**Created:** [August 29, 2016, 2:00pm UTC](https://qa.fmod.com/t/sound-volume-decreases-if-other-sound-is-played/12671 "2016-08-29T14:00:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![danielhaitink](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@danielhaitink](https://qa.fmod.com/u/danielhaitink)
#### Post date: [August 29, 2016, 2:00pm UTC](https://qa.fmod.com/t/sound-volume-decreases-if-other-sound-is-played/12671/1 "2016-08-29T14:00:42Z")

</div>

Hi,

I am implementing FMOD Studio into our game engine.  
However, I have a problem with sounds.

Say our ambience is playing, and I take a gun and fire it. The audio from the ambience will decrease very noticably in volume. This is highly unwanted. Does anyone know how this happens and how it can be fixed? It might have to do with the way I initialized the system.

```
#define SOUNDMANAGER_MAX_CHANNELS 1024
#define SOUNDMANAGER_SAMPLERATE 192000 
#define SOUNDMANAGER_SPEAKERMODE FMOD_SPEAKERMODE_STEREO 
#define FOCUS_ZBUFFER_CHANGE 300   

FMOD_RESULT result = FMOD_Studio_System_Create(getSoundSystem(), FMOD_VERSION);
FMOD_STUDIO_INITFLAGS flags = FMOD_STUDIO_INIT_NORMAL;
result = FMOD_Studio_System_GetLowLevelSystem(*getSoundSystem(), getLowLevelSoundSystem());
result = FMOD_System_SetSoftwareFormat(*getLowLevelSoundSystem(), SOUNDMANAGER_SAMPLERATE, SOUNDMANAGER_SPEAKERMODE, 0);
result = FMOD_Studio_System_Initialize(*getSoundSystem(), SOUNDMANAGER_MAX_CHANNELS, flags, FMOD_INIT_NORMAL, NULL);
result = FMOD_Studio_System_StartCommandCapture(*getSoundSystem(), "./debugSound.txt", FMOD_STUDIO_COMMANDCAPTURE_NORMAL);
```

---

<div class="post-metadata">

### Author: ![nick1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nick1](https://qa.fmod.com/u/nick1)
#### Post date: [August 30, 2016, 12:14am UTC](https://qa.fmod.com/t/sound-volume-decreases-if-other-sound-is-played/12671/2 "2016-08-30T00:14:16Z")

</div>

You’re probably outputting audio over 0db and the built-in limiter of the Windows mixer is affecting your mix.

See [http://www.fmod.org/questions/question/sounds-drowning-out-music/](http://www.fmod.org/questions/question/sounds-drowning-out-music/)

---

<div class="post-metadata">

### Author: ![danielhaitink](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@danielhaitink](https://qa.fmod.com/u/danielhaitink)
#### Post date: [August 30, 2016, 10:15am UTC](https://qa.fmod.com/t/sound-volume-decreases-if-other-sound-is-played/12671/3 "2016-08-30T10:15:46Z")

</div>

> [@](#):
>
> You’re probably outputting audio over 0db and the built-in limiter of the Windows mixer is affecting your mix.
> 
> See [Sounds drowning out music - FMOD Studio - FMOD Forums](http://www.fmod.org/questions/question/sounds-drowning-out-music/)

Thank you, this was indeed the problem!
