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

Go to the source code of this file.

Macros

#define DEVICE_CHANNELS   1 /* For this example, always set to 1. */
 
#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 /* Cannot be less than 22050 for this example. */
 
#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_node_graph g_nodeGraph
 
static ma_reverb_node g_reverbNode
 

Macro Definition Documentation

◆ DEVICE_CHANNELS

#define DEVICE_CHANNELS   1 /* For this example, always set to 1. */

◆ 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 /* Cannot be less than 22050 for this example. */

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

ma_node_graph g_nodeGraph
static

◆ g_reverbNode

ma_reverb_node g_reverbNode
static


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