Contents

currentPreset

The audio unit’s last-selected preset.

Declaration

var currentPreset: AUAudioUnitPreset? { get set }

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