---
title: "removeObserver(fromAllBusses:forKeyPath:context:)"
framework: audiotoolbox
role: symbol
role_heading: Instance Method
path: "audiotoolbox/auaudiounitbusarray/removeobserver(fromallbusses:forkeypath:context:)"
---

# removeObserver(fromAllBusses:forKeyPath:context:)

Removes a KVO observer for a given property on all busses in the array.

## Declaration

```swift
func removeObserver(fromAllBusses observer: NSObject, forKeyPath keyPath: String, context: UnsafeMutableRawPointer?)
```

## Parameters

- `observer`: The KVO observer.
- `keyPath`: The property’s key path.
- `context`: The KVO context.

## See Also

### Bus Array Methods and Properties

- [count](audiotoolbox/auaudiounitbusarray/count.md)
- [isCountChangeable](audiotoolbox/auaudiounitbusarray/iscountchangeable.md)
- [ownerAudioUnit](audiotoolbox/auaudiounitbusarray/owneraudiounit.md)
- [busType](audiotoolbox/auaudiounitbusarray/bustype.md)
- [subscript(_:)](audiotoolbox/auaudiounitbusarray/subscript(_:).md)
- [setBusCount(_:)](audiotoolbox/auaudiounitbusarray/setbuscount(_:).md)
- [addObserver(toAllBusses:forKeyPath:options:context:)](audiotoolbox/auaudiounitbusarray/addobserver(toallbusses:forkeypath:options:context:).md)
