---
title: kAudioUnitProperty_PresentPreset
framework: audiotoolbox
role: symbol
role_heading: Global Variable
path: audiotoolbox/kaudiounitproperty_presentpreset
---

# kAudioUnitProperty_PresentPreset

The active factory preset for an audio unit.

## Declaration

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

## Discussion

Discussion A read/write AUPreset data structure valid on the audio unit global scope, The presetName field in the struct is of type CFString and follows Core Foundation memory semantics. When setting the active factory preset on an audio unit with the AudioUnitSetProperty(_:_:_:_:_:_:) function, you own the reference to the preset name and are responsible for later releasing it by calling the CFRelease function. When obtaining the active factory preset from an audio unit with the AudioUnitGetProperty(_:_:_:_:_:_:) function, you also own the reference to the preset name and are responsible for later releasing it by calling the CFRelease function.

## See Also

### Properties

- [kAudioUnitProperty_ElementCount](audiotoolbox/kaudiounitproperty_elementcount.md)
- [kAudioUnitProperty_SupportedNumChannels](audiotoolbox/kaudiounitproperty_supportednumchannels.md)
- [kAudioUnitProperty_AudioChannelLayout](audiotoolbox/kaudiounitproperty_audiochannellayout.md)
- [kAudioUnitProperty_AudioUnitMIDIProtocol](audiotoolbox/kaudiounitproperty_audiounitmidiprotocol.md)
- [kAudioUnitProperty_AUHostIdentifier](audiotoolbox/kaudiounitproperty_auhostidentifier.md)
- [kAudioUnitProperty_BypassEffect](audiotoolbox/kaudiounitproperty_bypasseffect.md)
- [kAudioUnitProperty_ClassInfo](audiotoolbox/kaudiounitproperty_classinfo.md)
- [kAudioUnitProperty_ClassInfoFromDocument](audiotoolbox/kaudiounitproperty_classinfofromdocument.md)
- [kAudioUnitProperty_CocoaUI](audiotoolbox/kaudiounitproperty_cocoaui.md)
- [kAudioUnitProperty_ContextName](audiotoolbox/kaudiounitproperty_contextname.md)
- [kAudioUnitProperty_CPULoad](audiotoolbox/kaudiounitproperty_cpuload.md)
- [kAudioUnitProperty_DependentParameters](audiotoolbox/kaudiounitproperty_dependentparameters.md)
- [kAudioUnitProperty_ElementName](audiotoolbox/kaudiounitproperty_elementname.md)
- [kAudioUnitProperty_FactoryPresets](audiotoolbox/kaudiounitproperty_factorypresets.md)
- [kAudioUnitProperty_FastDispatch](audiotoolbox/kaudiounitproperty_fastdispatch.md)
