Macros | Functions | Variables
pvrecorder/src/miniaudio/research/_extras/nodes/ma_delay_node/ma_delay_node_example.c File Reference
#include "../../../../miniaudio.h"
#include "../../../miniaudio_engine.h"
#include <stdio.h>
Include dependency graph for pvrecorder/src/miniaudio/research/_extras/nodes/ma_delay_node/ma_delay_node_example.c:

Go to the source code of this file.

Macros

#define DEVICE_CHANNELS   2
 
#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_audio_buffer_ref g_dataSupply
 
static ma_data_source_node g_dataSupplyNode
 
static ma_delay_node g_delayNode
 
static ma_node_graph g_nodeGraph
 

Macro Definition Documentation

◆ DEVICE_CHANNELS

#define DEVICE_CHANNELS   2

◆ 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_dataSupply

ma_audio_buffer_ref g_dataSupply
static

◆ g_dataSupplyNode

ma_data_source_node g_dataSupplyNode
static

◆ g_delayNode

ma_delay_node g_delayNode
static

◆ g_nodeGraph

ma_node_graph g_nodeGraph
static


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