<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioUnitProperty_PresentPreset",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioUnitProperty_ClassInfo@kAudioUnitProperty_PresentPreset"
  },
  "title" : "kAudioUnitProperty_PresentPreset"
}
-->

# kAudioUnitProperty_PresentPreset

The active factory preset for an audio unit.

```
var kAudioUnitProperty_PresentPreset: AudioUnitPropertyID { get }
```

## Discussion

A read/write [`AUPreset`](/documentation/AudioToolbox/AUPreset) data structure valid on the audio unit global scope, The `presetName` field in the struct is of type <doc://com.apple.documentation/documentation/CoreFoundation/CFString> and follows Core Foundation memory semantics.

When setting the active factory preset on an audio unit with the [`AudioUnitSetProperty(_:_:_:_:_:_:)`](/documentation/AudioToolbox/AudioUnitSetProperty(_:_:_:_:_:_:)) function, you own the reference to the preset name and are responsible for later releasing it by calling the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function.

When obtaining the active factory preset from an audio unit with the [`AudioUnitGetProperty(_:_:_:_:_:_:)`](/documentation/AudioToolbox/AudioUnitGetProperty(_:_:_:_:_:_:)) function, you also own the reference to the preset name and are responsible for later releasing it by calling the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function.

---

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)