# muteOtherAudioSources

> Stops or allows audio from other applications to play in the background while your Unity application is running.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static bool muteOtherAudioSources { get; set; }
```

### Remarks

This setting is shared between iOS and Android platforms.

Set this to true and your Unity application stops audio from other applications in the background, set to false and audio from background applications continues to play alongside your Unity application.

Unity ignores `PlayerSettings.muteOtherAudioSources` if at least one of the following is true:

* Unity Audio is disabled. (menu: **Edit** > **Project Settings** > **Audio** > **Disable Unity Audio**)

* Unity has stripped the AudioManager from the project at build time.

AudioManager is stripped from the project if all of the following are true:

* There is no audio content in the project.

* The project uses IL2CPP.

* [Strip Engine Code](/engine/6000.3/script-reference/unityeditor/playersettings/stripenginecode.md) is enabled.

Note: Starting with Android Marshmallow (6.0), setting this to false mutes the sound of your Unity application during an incoming phone call (while the phone is ringing). If you want to have this behavior on older Android versions, you have to add the READ\_PHONE\_STATE permission to the manifest. See [the Android documentation](https://developer.android.com/guide/topics/manifest/manifest-intro.html) for more information on build manifests.
