Zrythm
a highly automated and intuitive digital audio workstation
|
LV2 state management. More...
#include "zrythm-config.h"
#include <glib.h>
#include <lilv/lilv.h>
#include <lv2/state/state.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | PresetSink) (Lv2Plugin *plugin, const LilvNode *node, const LilvNode *title, void *data) |
Functions | |
NONNULL void | lv2_state_apply_state (Lv2Plugin *plugin, LilvState *state) |
WARN_UNUSED_RESULT NONNULL LilvState * | lv2_state_save_to_file (Lv2Plugin *pl, bool is_backup) |
Saves the plugin state to the filesystem and returns the state. | |
LilvState * | lv2_state_save_to_memory (Lv2Plugin *plugin) |
Saves the plugin state into a new LilvState that can be applied to any plugin with the same URI (like clones). | |
LilvState * | lv2_state_save_to_string (Lv2Plugin *pl, bool is_backup) |
Saves the plugin state to a string after writing the required files. | |
char * | lv2_state_make_path_temp (LV2_State_Make_Path_Handle handle, const char *path) |
LV2 State makePath feature for temporary files. | |
int | lv2_state_save_preset (Lv2Plugin *plugin, const char *dir, const char *uri, const char *label, const char *filename) |
Saves the preset. | |
bool | lv2_state_apply_preset (Lv2Plugin *plugin, const LilvNode *preset, const char *path, GError **error) |
Applies the given preset, or the preset in the path if preset is NULL. | |
int | lv2_state_delete_current_preset (Lv2Plugin *plugin) |
Deletes the current preset. | |
int | lv2_state_load_presets (Lv2Plugin *plugin, PresetSink sink, void *data) |
int | lv2_state_unload_presets (Lv2Plugin *plugin) |
LV2 state management.
Definition in file lv2_state.h.