#include "../extras/dr_flac.h"
#include "../extras/dr_mp3.h"
#include "../extras/dr_wav.h"
#include "../miniaudio.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | CHANNEL_COUNT 2 |
#define | DR_FLAC_IMPLEMENTATION |
#define | DR_MP3_IMPLEMENTATION |
#define | DR_WAV_IMPLEMENTATION |
#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_decoder * | g_pDecoders |
ma_bool32 * | g_pDecodersAtEnd |
ma_event | g_stopEvent |
#define CHANNEL_COUNT 2 |
Definition at line 22 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define DR_FLAC_IMPLEMENTATION |
Definition at line 6 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define DR_MP3_IMPLEMENTATION |
Definition at line 8 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define DR_WAV_IMPLEMENTATION |
Definition at line 10 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define MINIAUDIO_IMPLEMENTATION |
Definition at line 13 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define SAMPLE_FORMAT ma_format_f32 |
Definition at line 21 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
#define SAMPLE_RATE 48000 |
Definition at line 23 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_bool32 are_all_decoders_at_end | ( | ) |
Definition at line 31 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
void data_callback | ( | ma_device * | pDevice, |
void * | pOutput, | ||
const void * | pInput, | ||
ma_uint32 | frameCount | ||
) |
Definition at line 83 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 110 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_uint32 read_and_mix_pcm_frames_f32 | ( | ma_decoder * | pDecoder, |
float * | pOutputF32, | ||
ma_uint32 | frameCount | ||
) |
Definition at line 43 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_uint32 g_decoderCount |
Definition at line 25 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_decoder* g_pDecoders |
Definition at line 26 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_bool32* g_pDecodersAtEnd |
Definition at line 27 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.
ma_event g_stopEvent |
Definition at line 29 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/examples/simple_mixing.c.