---
title: AVAudioEngineConfigurationChangeNotification
framework: avfaudio
role: symbol
role_heading: Global Variable
path: avfaudio/avaudioengineconfigurationchangenotification
---

# AVAudioEngineConfigurationChangeNotification

A notification the framework posts when the audio engine configuration changes.

## Declaration

```occ
extern NSString * const AVAudioEngineConfigurationChangeNotification;
```

## Discussion

Discussion When the audio engine’s I/O unit observes a change to the audio input or output hardware’s channel count or sample rate, the audio engine stops, uninitializes itself, and issues this notification. The nodes remain in an attached and connected state with the previously set formats. The app must reestablish connections if the connection formats need to change. note: Don’t deallocate the engine from within the client’s notification handler. The callback happens on an internal dispatch queue and can deadlock while trying to tear down the engine synchronously.
