<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioMixing/destination(forMixer:bus:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(pl)AVAudioMixing(im)destinationForMixer:bus:"
  },
  "title" : "destination(forMixer:bus:)"
}
-->

# destination(forMixer:bus:)

Gets the audio mixing destination object that corresponds to the specified mixer node and input bus.

```
func destination(forMixer mixer: AVAudioNode, bus: AVAudioNodeBus) -> AVAudioMixingDestination?
```

## Parameters

`mixer`

The mixer to get destination details for.

`bus`

The input bus.

## Return Value

Returns `self` if the specified mixer or input bus matches its connection point. If the mixer or input bus doesn’t match its connection point, or if the source node isn’t in a connected state to the mixer or input bus, the method returns `nil.`

## Discussion

When you connect a source node to multiple mixers downstream, setting [`AVAudioMixing`](/documentation/AVFAudio/AVAudioMixing) properties directly on the source node applies the change to all of them. Use this method to get the corresponding [`AVAudioMixingDestination`](/documentation/AVFAudio/AVAudioMixingDestination) for a specific mixer. Properties set on individual destination instances don’t reflect at the source node level.

If there’s any disconnection between the source and mixer nodes, the return value can be invalid. Fetch the return value every time you want to set or get properties on a specific mixer.

---

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)