Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
pool.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __SCHEMAS_AUDIO_POOL_H__
11#define __SCHEMAS_AUDIO_POOL_H__
12
14#include "utils/yaml.h"
15
16typedef struct AudioPool_v1
17{
18 int schema_version;
19 AudioClip_v1 ** clips;
20 int num_clips;
22
23static const cyaml_schema_field_t audio_pool_fields_schema_v1[] = {
24 YAML_FIELD_INT (AudioPool_v1, schema_version),
25 YAML_FIELD_DYN_ARRAY_VAR_COUNT (AudioPool_v1, clips, audio_clip_schema_v1),
26
27 CYAML_FIELD_END
28};
29
30static const cyaml_schema_value_t audio_pool_schema_v1 = {
31 YAML_VALUE_PTR (AudioPool_v1, audio_pool_fields_schema_v1),
32};
33
34#endif
Audio clip schema.
YAML utils.