dplug.client.preset

Definitions of presets and preset banks.

Members

Classes

Preset
class Preset

A preset is a slot in a plugin preset list

PresetBank
class PresetBank

A preset bank is a collection of presets

Functions

loadPresetsFromFXB
Preset[] loadPresetsFromFXB(Client client, string inputFBXData, int maxCount)

Loads an array of Preset from a FXB file content. Gives ownership of the result, in a way that can be returned by buildPresets. IMPORTANT: if you store your presets in FXB form, the following limitations * One _add_ new parameters to the plug-in, no reorder or deletion * Don't remap the parameter (in a way that changes its normalized value) They are the same limitations that exist in Dplug in minor plugin version.

Variables

DPLUG_MAGIC
enum uint DPLUG_MAGIC;

Dplug chunks start with this.

DPLUG_SERIALIZATION_MAJOR_VERSION
enum int DPLUG_SERIALIZATION_MAJOR_VERSION;

I can see no reason why Dplug shouldn't be able to maintain state chunks backward-compatibility with older versions in the future. And indeed the major version was bumped for "binState" change but was compatible in the end, it could have been a minor change.

DPLUG_SERIALIZATION_MAJOR_VERSION
enum int DPLUG_SERIALIZATION_MAJOR_VERSION;
Undocumented in source.
DPLUG_SERIALIZATION_MINOR_VERSION
enum int DPLUG_SERIALIZATION_MINOR_VERSION;

This number will be incremented for every backward-compatible change that is significant enough to bump a version number

Meta

Authors

Guillaume Piolat