Graph.
More...
#include <dsp/graph.h>
Graph.
Definition at line 70 of file graph.h.
◆ beat_unit_node
◆ beats_per_bar_node
◆ bpm_node
◆ callback_done
ZixSem Graph::callback_done |
◆ callback_start
ZixSem Graph::callback_start |
Synchronization with main process callback.
Definition at line 105 of file graph.h.
◆ destroying
Flag to indicate if graph is currently getting destroyed.
Definition at line 77 of file graph.h.
◆ external_out_ports
GPtrArray* Graph::external_out_ports |
An array of pointers to ports that are exposed to the backend and are outputs.
Used to clear their buffers when returning early from the processing cycle.
Definition at line 155 of file graph.h.
◆ graph_nodes
GHashTable* Graph::graph_nodes |
List of all graph nodes (only used for memory management)
key = internal pointer, value = graph node.
Definition at line 82 of file graph.h.
◆ idle_thread_cnt
guint Graph::idle_thread_cnt |
Number of threads waiting for work.
Definition at line 122 of file graph.h.
◆ init_trigger_list
Nodes without incoming edges.
These run concurrently at the start of each cycle to kick off processing
Definition at line 92 of file graph.h.
◆ initial_processor
int Graph::initial_processor |
Dummy member to make lookups work.
Definition at line 140 of file graph.h.
◆ main_thread
◆ n_init_triggers
size_t Graph::n_init_triggers |
◆ n_terminal_nodes
gint Graph::n_terminal_nodes |
Number of graph nodes without an outgoing edge.
Definition at line 98 of file graph.h.
◆ num_setup_init_triggers
size_t Graph::num_setup_init_triggers |
◆ num_setup_terminal_nodes
size_t Graph::num_setup_terminal_nodes |
◆ num_threads
◆ router
Pointer back to router for convenience.
Definition at line 73 of file graph.h.
◆ sample_processor
Sample processor, if temporary graph for sample processor.
Definition at line 158 of file graph.h.
◆ setup_graph_nodes
GHashTable* Graph::setup_graph_nodes |
Chain used to setup in the background.
This is applied and cleared by graph_rechain() key = internal pointer, value = graph node.
Definition at line 128 of file graph.h.
◆ setup_init_trigger_list
◆ setup_terminal_nodes
Used only when constructing the graph so we can traverse the graph backwards to calculate the playback latencies.
Definition at line 136 of file graph.h.
◆ terminal_nodes
◆ terminal_refcnt
gint Graph::terminal_refcnt |
Remaining unprocessed terminal nodes in this cycle.
Definition at line 102 of file graph.h.
◆ terminate
flag to exit, terminate all process-threads
Definition at line 119 of file graph.h.
◆ threads
◆ trigger
Wake up graph node process threads.
Definition at line 109 of file graph.h.
◆ trigger_queue
Queue containing nodes that can be processed.
Definition at line 113 of file graph.h.
◆ trigger_queue_size
guint Graph::trigger_queue_size |
Number of entries in trigger queue.
Definition at line 116 of file graph.h.
The documentation for this struct was generated from the following file: