Macros | Functions | Variables
pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c File Reference
#include "../../../../miniaudio.h"
#include "../../../miniaudio_engine.h"
#include "ma_channel_separator_node.c"
#include "../ma_channel_combiner_node/ma_channel_combiner_node.c"
#include <stdio.h>
Include dependency graph for pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEVICE_CHANNELS   0 /* The input file will determine the channel count. */
 
#define DEVICE_FORMAT   ma_format_f32 /* Must always be f32 for this example because the node graph system only works with this. */
 
#define DEVICE_SAMPLE_RATE   48000
 
#define MINIAUDIO_IMPLEMENTATION
 

Functions

void data_callback (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount)
 
int main (int argc, char **argv)
 

Variables

static ma_channel_combiner_node g_combinerNode
 
static ma_data_source_node g_dataSupplyNode
 
static ma_decoder g_decoder
 
static ma_node_graph g_nodeGraph
 
static ma_channel_separator_node g_separatorNode
 

Macro Definition Documentation

◆ DEVICE_CHANNELS

#define DEVICE_CHANNELS   0 /* The input file will determine the channel count. */

◆ DEVICE_FORMAT

#define DEVICE_FORMAT   ma_format_f32 /* Must always be f32 for this example because the node graph system only works with this. */

◆ DEVICE_SAMPLE_RATE

#define DEVICE_SAMPLE_RATE   48000

◆ MINIAUDIO_IMPLEMENTATION

#define MINIAUDIO_IMPLEMENTATION

Function Documentation

◆ data_callback()

void data_callback ( ma_device pDevice,
void *  pOutput,
const void *  pInput,
ma_uint32  frameCount 
)

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ g_combinerNode

ma_channel_combiner_node g_combinerNode
static

◆ g_dataSupplyNode

ma_data_source_node g_dataSupplyNode
static

◆ g_decoder

ma_decoder g_decoder
static

◆ g_nodeGraph

ma_node_graph g_nodeGraph
static

◆ g_separatorNode

ma_channel_separator_node g_separatorNode
static


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57