<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioSessionProperty_OverrideCategoryMixWithOthers",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioSessionProperty_PreferredHardwareSampleRate@kAudioSessionProperty_OverrideCategoryMixWithOthers"
  },
  "title" : "kAudioSessionProperty_OverrideCategoryMixWithOthers"
}
-->

# kAudioSessionProperty_OverrideCategoryMixWithOthers

Changes the mixing behavior of the [`kAudioSessionCategory_MediaPlayback`](/documentation/AudioToolbox/kAudioSessionCategory_MediaPlayback) and [`kAudioSessionCategory_PlayAndRecord`](/documentation/AudioToolbox/kAudioSessionCategory_PlayAndRecord) audio session categories.

```
var kAudioSessionProperty_OverrideCategoryMixWithOthers: Int { get }
```

## Discussion

A read/write `UInt32` value. By default, the value of this property is `FALSE` (`0`).

Setting this property to `TRUE` (any nonzero value) allows audio mixing with other apps. Other aspects of these categories, such as their Silent switch behavior, are not affected. (The switch is called the *Ring/Silent switch* on iPhone.)

When the audio session category changes, such as during an interruption, the value of this property reverts to `FALSE`. To regain mixing behavior you must then re-set this property.

Always check to see if setting this property succeeds or fails, and react appropriately; behavior may change in future releases of iOS.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)