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
13
#include "
gui/backend/backend/cyaml_schemas/dsp/clip.h
"
14
#include "
utils/yaml.h
"
15
16
typedef
struct
AudioPool_v1
17
{
18
int
schema_version;
19
AudioClip_v1
** clips;
20
int
num_clips;
21
}
AudioPool_v1
;
22
23
static
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
30
static
const
cyaml_schema_value_t audio_pool_schema_v1 = {
31
YAML_VALUE_PTR (
AudioPool_v1
, audio_pool_fields_schema_v1),
32
};
33
34
#endif
clip.h
Audio clip schema.
AudioClip_v1
Definition
clip.h:24
AudioPool_v1
Definition
pool.h:17
yaml.h
YAML utils.
src
gui
backend
backend
cyaml_schemas
dsp
pool.h
Generated by
1.13.2