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

Go to the source code of this file.

Macros

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

Functions

ma_bool32 are_all_decoders_at_end ()
 
void data_callback (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount)
 
int main (int argc, char **argv)
 
ma_uint32 read_and_mix_pcm_frames_f32 (ma_decoder *pDecoder, float *pOutputF32, ma_uint32 frameCount)
 

Variables

ma_uint32 g_decoderCount
 
ma_decoderg_pDecoders
 
ma_bool32g_pDecodersAtEnd
 
ma_event g_stopEvent
 

Macro Definition Documentation

◆ CHANNEL_COUNT

#define CHANNEL_COUNT   2

◆ MINIAUDIO_IMPLEMENTATION

#define MINIAUDIO_IMPLEMENTATION

◆ SAMPLE_FORMAT

#define SAMPLE_FORMAT   ma_format_f32

◆ SAMPLE_RATE

#define SAMPLE_RATE   48000

Function Documentation

◆ are_all_decoders_at_end()

ma_bool32 are_all_decoders_at_end ( )

◆ data_callback()

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

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read_and_mix_pcm_frames_f32()

ma_uint32 read_and_mix_pcm_frames_f32 ( ma_decoder pDecoder,
float *  pOutputF32,
ma_uint32  frameCount 
)

Variable Documentation

◆ g_decoderCount

ma_uint32 g_decoderCount

◆ g_pDecoders

ma_decoder* g_pDecoders

◆ g_pDecodersAtEnd

ma_bool32* g_pDecodersAtEnd

◆ g_stopEvent

ma_event g_stopEvent


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:00