Instance Property

currentPreset

The audio unit’s last-selected preset.

Declaration

iOS, Mac Catalyst, tvOS
@property(retain, nonatomic) AUAudioUnitPreset *currentPreset;
macOS
@property(retain, atomic) AUAudioUnitPreset *currentPreset;

Discussion

Hosts can let the user select a preset by setting this property. When getting this property, the preset does not reflect whether parameters may have been modified since it was selected.

This version 3 property is bridged to the version 2 kAudioUnitProperty_PresentPreset API.

See Also

Managing Presets

fullState

A persistable snapshot of the audio unit’s properties and parameters, suitable for saving as a user preset.

fullStateForDocument

A persistable snapshot of the audio unit’s properties and parameters, suitable for saving in a user’s document.

factoryPresets

A collection of presets provided by the audio unit’s developer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software