#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>
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 |
#define DEVICE_CHANNELS 0 /* The input file will determine the channel count. */ |
Definition at line 10 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
#define DEVICE_FORMAT ma_format_f32 /* Must always be f32 for this example because the node graph system only works with this. */ |
Definition at line 9 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
#define DEVICE_SAMPLE_RATE 48000 |
Definition at line 11 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
#define MINIAUDIO_IMPLEMENTATION |
Definition at line 1 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
void data_callback | ( | ma_device * | pDevice, |
void * | pOutput, | ||
const void * | pInput, | ||
ma_uint32 | frameCount | ||
) |
Definition at line 23 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 32 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
|
static |
Definition at line 20 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
|
static |
Definition at line 18 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
|
static |
Definition at line 17 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
|
static |
Definition at line 21 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.
|
static |
Definition at line 19 of file pvrecorder/src/miniaudio/research/_extras/nodes/ma_channel_separator_node/ma_channel_separator_node_example.c.