10#ifndef __AUDIO_PORT_CONNECTION_H__
11#define __AUDIO_PORT_CONNECTION_H__
13#include "zrythm-config.h"
26#define PORT_CONNECTION_SCHEMA_VERSION 1
68static const cyaml_schema_field_t port_connection_fields_schema[] = {
80static const cyaml_schema_value_t port_connection_schema = {
93port_connection_update (
103port_connection_print_to_str (
NONNULL PortConnection * port_connection_clone(const PortConnection *src)
To be used during serialization.
NONNULL void port_connection_free(PortConnection *self)
Deletes port, doing required cleanup and updating counters.
#define YAML_FIELD_MAPPING_PTR(owner, member, schema)
Mapping pointer to a struct.
#define YAML_VALUE_PTR(cc, fields_schema)
Schema to be used as a pointer.
A connection between two ports.
bool enabled
Whether the connection is enabled.
float multiplier
Multiplier to apply, where applicable.
bool locked
Whether the connection can be removed or the multiplier edited by the user.
float base_value
Used for CV -> control port connections.
Struct used to identify Ports in the project.