<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.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/secondaryAudioShouldBeSilencedHint",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAudioSession(py)secondaryAudioShouldBeSilencedHint"
  },
  "title" : "secondaryAudioShouldBeSilencedHint"
}
-->

# secondaryAudioShouldBeSilencedHint

A Boolean value that indicates whether another app, with a nonmixable audio session, is playing audio.

```
var secondaryAudioShouldBeSilencedHint: Bool { get }
```

## Discussion

Use this property as a hint to silence audio that’s secondary to the functionality of the app. For example, in a game that uses the [`ambient`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/ambient) category, you can use this property to mute the soundtrack while leaving sound effects unmuted.

---

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)