# MixerStrip StopAllEvents does not work

**URL:** <https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402>\
**Category:** Unity\
**Created:** [April 12, 2014, 12:40pm UTC](https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402 "2014-04-12T12:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)\
**Post date:** [April 12, 2014, 12:40pm UTC](https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402/1 "2014-04-12T12:40:17Z")

</div>

Hi,

I’m trying to stop all sounds that are currently playing but calling StopAllEvents function of a mixer causes the following error that can be reproduced running in unity editor on osx:

FMOD Error (ERR\_SUBSOUNDS): The error occured because the sound referenced contains subsounds when it shouldn’t have, or it doesn’t contain subsounds when it should have. The operation may also not be able to be performed on a parent sound.

I can obviously stop all events by hand that I have a pointer to, but I use a lot of single shot events (where I release the instance immediately after play) so can’t stop them manually anymore.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Burroughs](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@Jonathan\_Burroughs](https://qa.fmod.com/u/Jonathan_Burroughs)\
**Post date:** [September 5, 2014, 10:25am UTC](https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402/2 "2014-09-05T10:25:41Z")

</div>

> [@](#):
>
> Hi,
> 
> I’m trying to stop all sounds that are currently playing but calling StopAllEvents function of a mixer causes the following error that can be reproduced running in unity editor on osx:
> 
> FMOD Error (ERR\_SUBSOUNDS): The error occured because the sound referenced contains subsounds when it shouldn’t have, or it doesn’t contain subsounds when it should have. The operation may also not be able to be performed on a parent sound.
> 
> I can obviously stop all events by hand that I have a pointer to, but I use a lot of single shot events (where I release the instance immediately after play) so can’t stop them manually anymore.

I’m experiencing the exact same problem. I too need to call StopAllEvents on a MixerStrip. I am able to call SetPaused just fine, but StopAllEvents doesn’t seem to work at all. Is this feature still yet to be implemented?

---

<div class="post-metadata">

**Author:** ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)\
**Post date:** [April 14, 2014, 4:23am UTC](https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402/3 "2014-04-14T04:23:09Z")

</div>

Unfortunately the stop all events features is currently unimplemented. It’s unusual that you would be seeing that error message, it shouldn’t be returning FMOD\_ERR\_SUBSOUND.

---

<div class="post-metadata">

**Author:** ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)\
**Post date:** [April 12, 2014, 12:43pm UTC](https://qa.fmod.com/t/mixerstrip-stopallevents-does-not-work/11402/4 "2014-04-12T12:43:26Z")

</div>

Oh and if it helps, I’m using that for the main mixer which I get like this:

```auto
public static FMOD.Studio.MixerStrip m_mixer;
	
	static public void Initialize ()
	{
		m_system = FMOD_StudioSystem.instance;
		
		// Get main mixer
		FMOD.GUID guid = new FMOD.GUID();
		ERRCHECK( m_system.System.lookupID("bus:/", out guid) );
		ERRCHECK( m_system.System.getMixerStrip(guid, FMOD.Studio.LOADING_MODE.BEGIN_NOW, out m_mixer) );
	}
```
