Zrythm
a highly automated and intuitive digital audio workstation
|
Chord preset pack manager. More...
Go to the source code of this file.
Data Structures | |
struct | ChordPresetPackManager |
Chord preset pack manager. More... | |
Macros | |
#define | CHORD_PRESET_PACK_MANAGER (gZrythm->chord_preset_pack_manager) |
Functions | |
ChordPresetPackManager * | chord_preset_pack_manager_new (bool scan_for_packs) |
Creates a new chord preset pack manager. | |
int | chord_preset_pack_manager_get_num_packs (const ChordPresetPackManager *self) |
ChordPresetPack * | chord_preset_pack_manager_get_pack_at (const ChordPresetPackManager *self, int idx) |
NONNULL ChordPresetPack * | chord_preset_pack_manager_get_pack_for_preset (ChordPresetPackManager *self, const ChordPreset *pset) |
int | chord_preset_pack_manager_get_pack_index (ChordPresetPackManager *self, ChordPresetPack *pack) |
int | chord_preset_pack_manager_get_pset_index (ChordPresetPackManager *self, ChordPreset *pset) |
Returns the preset index in its pack. | |
void | chord_preset_pack_manager_add_preset (ChordPresetPackManager *self, ChordPresetPack *pack, const ChordPreset *pset, bool serialize) |
Add a copy of the given preset. | |
void | chord_preset_pack_manager_add_pack (ChordPresetPackManager *self, const ChordPresetPack *pack, bool serialize) |
Add a copy of the given pack. | |
void | chord_preset_pack_manager_delete_pack (ChordPresetPackManager *self, ChordPresetPack *pack, bool serialize) |
void | chord_preset_pack_manager_delete_preset (ChordPresetPackManager *self, ChordPreset *pset, bool serialize) |
WARN_UNUSED_RESULT bool | chord_preset_pack_manager_serialize (ChordPresetPackManager *self, GError **error) |
Serializes the chord presets. | |
void | chord_preset_pack_manager_free (const ChordPresetPackManager *self) |
Chord preset pack manager.
Definition in file chord_preset_pack_manager.h.