Go to the source code of this file.
|
|
#define | OVE_AUDIO_GRAPH_MAX_NODES 16 |
| | Maximum number of nodes in a single audio graph.
|
| |
|
#define | OVE_AUDIO_GRAPH_MAX_EDGES 16 |
| | Maximum number of edges in a single audio graph.
|
| |
| #define | OVE_AUDIO_GRAPH_STORAGE_BYTES(nodes, frames, channels, sample_bytes) ((size_t)(nodes) * (size_t)(frames) * (size_t)(channels) * (size_t)(sample_bytes)) |
| | Conservative upper-bound byte count for graph buffer storage.
|
| |
| #define | OVE_AUDIO_GRAPH_DEFINE(name, nodes, frames, channels, sample_bytes) |
| | Declare named static storage for an audio graph and its buffers.
|
| |
|
| int | ove_audio_graph_init (struct ove_audio_graph *g, unsigned int frames_per_period) |
| | Initialise an audio graph.
|
| |
| void | ove_audio_graph_deinit (struct ove_audio_graph *g) |
| | Release all resources held by an audio graph.
|
| |
| int | ove_audio_graph_add_node (struct ove_audio_graph *g, const struct ove_audio_node_ops *ops, void *ctx, const char *name, enum ove_audio_node_type type) |
| | Register a new node in the graph.
|
| |
| int | ove_audio_graph_connect (struct ove_audio_graph *g, unsigned int from, unsigned int to) |
| | Connect two nodes with a directed edge.
|
| |
| int | ove_audio_graph_set_buf_storage (struct ove_audio_graph *g, void *storage, size_t size) |
| | Provide caller-owned storage for inter-node audio buffers.
|
| |
| int | ove_audio_graph_build (struct ove_audio_graph *g) |
| | Validate and compile the graph.
|
| |
| int | ove_audio_graph_start (struct ove_audio_graph *g) |
| | Start the audio graph.
|
| |
| int | ove_audio_graph_stop (struct ove_audio_graph *g) |
| | Stop the audio graph.
|
| |
| int | ove_audio_graph_process (struct ove_audio_graph *g) |
| | Execute one processing cycle (app-driven mode).
|
| |
| int | ove_audio_graph_get_stats (const struct ove_audio_graph *g, struct ove_audio_graph_stats *stats) |
| | Retrieve a snapshot of graph runtime statistics.
|
| |