Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
chord_object.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2018-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_AUDIO_CHORD_OBJECT_H__
11#define __SCHEMAS_AUDIO_CHORD_OBJECT_H__
12
13#include <cstdint>
14
16#include "utils/yaml.h"
17
18typedef struct ChordObject_v1
19{
21 int schema_version;
22 int index;
23 int chord_index;
25
26static const cyaml_schema_field_t chord_object_fields_schema_v1[] = {
27 YAML_FIELD_MAPPING_EMBEDDED (
29 base,
30 arranger_object_fields_schema_v1),
31 YAML_FIELD_INT (ChordObject_v1, schema_version),
32 YAML_FIELD_INT (ChordObject_v1, index),
33 YAML_FIELD_INT (ChordObject_v1, chord_index),
34
35 CYAML_FIELD_END
36};
37
38static const cyaml_schema_value_t chord_object_schema_v1 = {
39 YAML_VALUE_PTR (ChordObject_v1, chord_object_fields_schema_v1),
40};
41
42#endif
Arranger object schema.
YAML utils.