oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations | Functions
audio_node.h File Reference
#include <stdint.h>
#include "ove/storage.h"
Include dependency graph for audio_node.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ove_audio_fmt
 Complete audio stream format descriptor. More...
 
struct  ove_audio_buf
 Audio buffer passed between nodes during graph processing. More...
 
struct  ove_audio_node_ops
 Virtual function table (vtable) for an audio processing node. More...
 
struct  ove_audio_node
 Descriptor for a single node in the audio graph. More...
 
struct  ove_audio_channel_map
 Channel routing table used by ove_audio_node_channel_map(). More...
 

Macros

#define OVE_AUDIO_MAX_CHANNELS   8
 Maximum number of audio channels supported by the channel-map node.
 

Typedefs

typedef void(* ove_audio_tap_fn) (const struct ove_audio_buf *buf, void *user_data)
 Callback invoked by the tap node for every processed buffer.
 

Enumerations

enum  ove_audio_sample_fmt { OVE_AUDIO_FMT_S16 , OVE_AUDIO_FMT_S32 , OVE_AUDIO_FMT_F32 }
 PCM sample format tag. More...
 
enum  ove_audio_node_type { OVE_AUDIO_NODE_SOURCE , OVE_AUDIO_NODE_PROCESSOR , OVE_AUDIO_NODE_SINK }
 Role of a node within the audio graph. More...
 

Functions

static unsigned int ove_audio_sample_size (enum ove_audio_sample_fmt fmt)
 Return the size in bytes of one sample for a given format.
 
static int ove_audio_fmt_equal (const struct ove_audio_fmt *a, const struct ove_audio_fmt *b)
 Test two format descriptors for equality.