Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
router.h File Reference

DSP router. More...

#include "zrythm-config.h"
#include "dsp/engine.h"
#include "dsp/graph.h"
#include "dsp/graph_thread.h"
#include "utils/types.h"
#include <gtk/gtk.h>
#include "zix/ring.h"
#include "zix/sem.h"
#include <pthread.h>
Include dependency graph for router.h:

Go to the source code of this file.

Data Structures

struct  Router
 

Macros

#define ROUTER   (AUDIO_ENGINE->router)
 

Typedefs

typedef struct PassthroughProcessor PassthroughProcessor
 

Functions

Routerrouter_new (void)
 
void router_recalc_graph (Router *self, bool soft)
 Recalculates the process acyclic directed graph.
 
void router_start_cycle (Router *self, EngineProcessTimeInfo time_nfo)
 Starts a new cycle.
 
nframes_t router_get_max_route_playback_latency (Router *router)
 Returns the max playback latency of the trigger nodes.
 
WARN_UNUSED_RESULT HOT NONNULL ACCESS_READ_ONLY (1) static inline bool router_is_processing_kickoff_thread(const Router *const self)
 Returns whether this is the thread that kicks off processing (thread that calls router_start_cycle()).
 
NONNULL void router_queue_control_port_change (Router *self, const ControlPortChange *change)
 Queues a control port change to be applied when processing starts.
 
void router_free (Router *self)
 

Detailed Description

DSP router.

Definition in file router.h.

Typedef Documentation

◆ PassthroughProcessor

typedef struct PassthroughProcessor PassthroughProcessor

Definition at line 55 of file router.h.