#include "../../miniaudio.h"
#include "../../extras/miniaudio_libvorbis.h"
#include "../../extras/miniaudio_libopus.h"
#include "../miniaudio_engine.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | MA_NO_OPUS /* Disable the (not yet implemented) built-in Opus decoder to ensure the libopus decoder is picked. */ |
#define | MA_NO_VORBIS /* Disable the built-in Vorbis decoder to ensure the libvorbis decoder is picked. */ |
#define | MINIAUDIO_IMPLEMENTATION |
Functions | |
void | data_callback (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount) |
static ma_result | ma_decoding_backend_get_channel_map__libopus (void *pUserData, ma_data_source *pBackend, ma_channel *pChannelMap, size_t channelMapCap) |
static ma_result | ma_decoding_backend_get_channel_map__libvorbis (void *pUserData, ma_data_source *pBackend, ma_channel *pChannelMap, size_t channelMapCap) |
static ma_result | ma_decoding_backend_init__libopus (void *pUserData, ma_read_proc onRead, ma_seek_proc onSeek, ma_tell_proc onTell, void *pReadSeekTellUserData, const ma_decoding_backend_config *pConfig, const ma_allocation_callbacks *pAllocationCallbacks, ma_data_source **ppBackend) |
static ma_result | ma_decoding_backend_init__libvorbis (void *pUserData, ma_read_proc onRead, ma_seek_proc onSeek, ma_tell_proc onTell, void *pReadSeekTellUserData, const ma_decoding_backend_config *pConfig, const ma_allocation_callbacks *pAllocationCallbacks, ma_data_source **ppBackend) |
static ma_result | ma_decoding_backend_init_file__libopus (void *pUserData, const char *pFilePath, const ma_decoding_backend_config *pConfig, const ma_allocation_callbacks *pAllocationCallbacks, ma_data_source **ppBackend) |
static ma_result | ma_decoding_backend_init_file__libvorbis (void *pUserData, const char *pFilePath, const ma_decoding_backend_config *pConfig, const ma_allocation_callbacks *pAllocationCallbacks, ma_data_source **ppBackend) |
static void | ma_decoding_backend_uninit__libopus (void *pUserData, ma_data_source *pBackend, const ma_allocation_callbacks *pAllocationCallbacks) |
static void | ma_decoding_backend_uninit__libvorbis (void *pUserData, ma_data_source *pBackend, const ma_allocation_callbacks *pAllocationCallbacks) |
int | main (int argc, char **argv) |
Variables | |
static ma_decoding_backend_vtable | g_ma_decoding_backend_vtable_libopus |
static ma_decoding_backend_vtable | g_ma_decoding_backend_vtable_libvorbis |
#define MA_NO_OPUS /* Disable the (not yet implemented) built-in Opus decoder to ensure the libopus decoder is picked. */ |
Definition at line 19 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
#define MA_NO_VORBIS /* Disable the built-in Vorbis decoder to ensure the libvorbis decoder is picked. */ |
Definition at line 18 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
#define MINIAUDIO_IMPLEMENTATION |
Definition at line 20 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
void data_callback | ( | ma_device * | pDevice, |
void * | pOutput, | ||
const void * | pInput, | ||
ma_uint32 | frameCount | ||
) |
Definition at line 183 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 161 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 84 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 105 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 28 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 128 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 51 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 151 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 74 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 195 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 170 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.
|
static |
Definition at line 93 of file rhino/demo/c/pvrecorder/src/miniaudio/research/_examples/custom_decoder_engine.c.