audio/routing.h file

Routing graph.

Contents

Classes

struct Graph
Graph.

Enums

enum GraphNodeType { ROUTE_NODE_TYPE_PORT, ROUTE_NODE_TYPE_PLUGIN, ROUTE_NODE_TYPE_FADER, ROUTE_NODE_TYPE_PREFADER, ROUTE_NODE_TYPE_SAMPLE_PROCESSOR }
Graph nodes can be either ports or processors.

Typedefs

using Graph = struct Graph
Graph.
using GraphNodeType = enum GraphNodeType
Graph nodes can be either ports or processors.

Functions

auto graph_new(Router* router, Port* src, Port* dest) -> Graph*
Returns a new graph, or NULL if the graph is invalid.
void router_start_cycle(Router* self, const int nsamples, const int local_offset, const Position* pos)
Starts a new cycle.
auto router_get_max_playback_latency(Router* router) -> long
Returns the max playback latency of the trigger nodes.
void graph_free(Graph* self)
Frees the graph and its members.