Enumeration Case

kAudioUnitProperty_PresentPreset

The active factory preset for an audio unit.

Declaration

kAudioUnitProperty_PresentPreset = 36

Discussion

A read/write AUPreset data structure valid on the audio unit global scope, The presetName field in the struct is of type CFStringRef 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.