Macros | Functions | Variables
pvrecorder/src/miniaudio/examples/data_source_chaining.c File Reference
#include "../miniaudio.h"
#include <stdio.h>
Include dependency graph for pvrecorder/src/miniaudio/examples/data_source_chaining.c:

Go to the source code of this file.

Macros

#define CHANNEL_COUNT   2
 
#define MA_EXPERIMENTAL__DATA_LOOPING_AND_CHAINING
 
#define MINIAUDIO_IMPLEMENTATION
 
#define SAMPLE_FORMAT   ma_format_f32
 
#define SAMPLE_RATE   48000
 

Functions

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

Variables

ma_uint32 g_decoderCount
 
ma_decoderg_pDecoders
 

Macro Definition Documentation

◆ CHANNEL_COUNT

#define CHANNEL_COUNT   2

◆ MA_EXPERIMENTAL__DATA_LOOPING_AND_CHAINING

#define MA_EXPERIMENTAL__DATA_LOOPING_AND_CHAINING

◆ MINIAUDIO_IMPLEMENTATION

#define MINIAUDIO_IMPLEMENTATION

◆ SAMPLE_FORMAT

#define SAMPLE_FORMAT   ma_format_f32

◆ SAMPLE_RATE

#define SAMPLE_RATE   48000

Function Documentation

◆ data_callback()

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

◆ main()

int main ( int  argc,
char **  argv 
)

◆ next_callback_tail()

static ma_data_source* next_callback_tail ( ma_data_source pDataSource)
static

Variable Documentation

◆ g_decoderCount

ma_uint32 g_decoderCount

◆ g_pDecoders

ma_decoder* g_pDecoders


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