Zrythm
a highly automated and intuitive digital audio workstation
|
#include "zrythm-config.h"
#include <cstddef>
#include <cstdint>
#include "plugins/plugin_identifier.h"
#include "utils/types.h"
Go to the source code of this file.
Data Structures | |
struct | PortIdentifier |
Struct used to identify Ports in the project. More... | |
Macros | |
#define | PORT_IDENTIFIER_SCHEMA_VERSION 1 |
#define | PORT_IDENTIFIER_MAGIC 3411841 |
#define | IS_PORT_IDENTIFIER(tr) (tr && ((PortIdentifier *) tr)->magic == PORT_IDENTIFIER_MAGIC) |
Enumerations | |
enum class | ZPortFlow { Z_PORT_FLOW_UNKNOWN , Z_PORT_FLOW_INPUT , Z_PORT_FLOW_OUTPUT } |
Direction of the signal. More... | |
enum class | ZPortType { Z_PORT_TYPE_UNKNOWN , Z_PORT_TYPE_CONTROL , Z_PORT_TYPE_AUDIO , Z_PORT_TYPE_EVENT , Z_PORT_TYPE_CV } |
Type of signals the Port handles. More... | |
enum class | PortUnit { Z_PORT_UNIT_NONE , Z_PORT_UNIT_HZ , Z_PORT_UNIT_MHZ , Z_PORT_UNIT_DB , Z_PORT_UNIT_DEGREES , Z_PORT_UNIT_SECONDS , PortUnit::Z_PORT_UNIT_MS , PortUnit::Z_PORT_UNIT_US } |
Port unit to be displayed in the UI. More... | |
Functions | |
const char * | port_unit_to_str (const PortUnit unit) |
ENUM_ENABLE_BITSET (PortIdentifier::Flags) | |
ENUM_ENABLE_BITSET (PortIdentifier::Flags2) | |
int | port_identifier_port_group_cmp (const void *p1, const void *p2) |
Port group comparator function where p1 and p2 are pointers to Port. | |
const char * | port_identifier_get_label (void *data) |
uint32_t | port_identifier_get_hash (const void *data) |
void | port_identifier_destroy_notify (void *data) |
int | port_identifier_is_equal_func (const void *a, const void *b) |
To be used as GEqualFunc. | |
Port identifier.
Definition in file port_identifier.h.