<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioDevice/PerformDeviceConfigurationChange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioDevice@F@PerformDeviceConfigurationChange#k#*$@S@OSObject#"
  },
  "title" : "PerformDeviceConfigurationChange"
}
-->

# PerformDeviceConfigurationChange

Tells the device to handle a configuration change.

```
virtual kern_return_t PerformDeviceConfigurationChange(uint64_t in_change_action, OSObject *in_change_info);
```

## Parameters

`in_change_action`

A `uint64_t` that indicates the action the device object takes. This is the same value previously passed to `RequestDeviceConfigurationChange`. This value is purely for the device’s usage; the host doesn’t look at this value.

`in_change_info`

A pointer to an <doc://com.apple.documentation/documentation/DriverKit/OSObject> about the configuration change. This is the same value previously passed to `RequestDeviceConfigurationChange`. This value is purely for the clock device’s usage; the host doesn’t look at this value. Retain and release this object reference as needed.

## Return Value

<doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> on success, or another value if an error occurs. For a list of error codes, see <doc://com.apple.documentation/documentation/DriverKit/error-codes>.

## Discussion

The host calls this method to allow the clock device to perform a configuration change. This call can result from a call to `RequestDeviceConfigurationChange` or a from change to an I/O state that requires a configuration change.

Subclass and override this method to handle any custom configuration change requests, then call the superclass to update the I/O state. The framework stops I/O prior to performing the configuration change.

---

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)