<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/CategoryOptions-swift.struct/interruptSpokenAudioAndMixWithOthers",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioSessionCategoryOptions@AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers"
  },
  "title" : "interruptSpokenAudioAndMixWithOthers"
}
-->

# interruptSpokenAudioAndMixWithOthers

An option that determines whether to pause spoken audio content from other sessions when your app plays its audio.

```
static var interruptSpokenAudioAndMixWithOthers: AVAudioSession.CategoryOptions { get }
```

## Discussion

You can set this option only if the audio session category is [`playAndRecord`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/playAndRecord), [`playback`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/playback), or [`multiRoute`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/multiRoute). Setting this option also sets [`mixWithOthers`](/documentation/AVFAudio/AVAudioSession/CategoryOptions-swift.struct/mixWithOthers).

If you clear this option, audio from your audio session interrupts other sessions. If you set this option, the system mixes your audio with other audio sessions, but interrupts (and stops) audio sessions that use the [`spokenAudio`](/documentation/AVFAudio/AVAudioSession/Mode-swift.struct/spokenAudio) audio session mode. It pauses the audio from other apps as long as your session is active. After your audio session deactivates, the system resumes the interrupted app’s audio.

Set this option if your app’s audio is occasional and spoken, such as in a turn-by-turn navigation app or an exercise app. This avoids intelligibility problems when two spoken audio apps mix. If you set this option, also set the [`duckOthers`](/documentation/AVFAudio/AVAudioSession/CategoryOptions-swift.struct/duckOthers) option unless you have a specific reason not to. Ducking other audio, rather than interrupting it, is appropriate when the other audio isn’t spoken audio.

When you configure your audio session category using this option, notify other apps on the system when you deactivate your session so that they can resume audio playback. To do so, deactivate your session using the [`notifyOthersOnDeactivation`](/documentation/AVFAudio/AVAudioSession/SetActiveOptions/notifyOthersOnDeactivation) option.

```swift
do {
    try session.setActive(false, options: .notifyOthersOnDeactivation)
} catch let error as NSError {
    print("Failed to deactivate audio session: \(error.localizedDescription)")
}
```

---

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)