#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <wchar.h>
#include <errno.h>
Go to the source code of this file.
Classes | |
struct | drflac |
struct | drflac__memory_stream |
struct | drflac_allocation_callbacks |
struct | drflac_bs |
struct | drflac_cuesheet_track |
struct | drflac_cuesheet_track_index |
struct | drflac_cuesheet_track_iterator |
struct | drflac_frame |
struct | drflac_frame_header |
struct | drflac_metadata |
struct | drflac_seekpoint |
struct | drflac_streaminfo |
struct | drflac_subframe |
struct | drflac_vorbis_comment_iterator |
Typedefs | |
typedef drflac_uint32 | drflac_bool32 |
typedef drflac_uint8 | drflac_bool8 |
typedef drflac_uint32 | drflac_cache_t |
typedef signed short | drflac_int16 |
typedef signed int | drflac_int32 |
typedef signed long long | drflac_int64 |
typedef signed char | drflac_int8 |
typedef void(* | drflac_meta_proc) (void *pUserData, drflac_metadata *pMetadata) |
typedef size_t(* | drflac_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
typedef drflac_bool32(* | drflac_seek_proc) (void *pUserData, int offset, drflac_seek_origin origin) |
typedef unsigned short | drflac_uint16 |
typedef unsigned int | drflac_uint32 |
typedef unsigned long long | drflac_uint64 |
typedef unsigned char | drflac_uint8 |
typedef drflac_uint32 | drflac_uintptr |
#define DR_FLAC_BUFFER_SIZE 4096 |
Definition at line 326 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_API extern |
Definition at line 299 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_DEPRECATED |
Definition at line 315 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_FALSE 0 |
Definition at line 272 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_APPLICATION 2 |
Definition at line 343 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_CUESHEET 5 |
Definition at line 346 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_INVALID 127 |
Definition at line 348 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_PADDING 1 |
Definition at line 342 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_PICTURE 6 |
Definition at line 347 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_SEEKTABLE 3 |
Definition at line 344 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_STREAMINFO 0 |
Definition at line 341 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_METADATA_BLOCK_TYPE_VORBIS_COMMENT 4 |
Definition at line 345 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_ARTIST 8 |
Definition at line 359 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_BAND 10 |
Definition at line 361 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_BAND_LOGOTYPE 19 |
Definition at line 370 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_BRIGHT_COLORED_FISH 17 |
Definition at line 368 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_COMPOSER 11 |
Definition at line 362 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_CONDUCTOR 9 |
Definition at line 360 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_COVER_BACK 4 |
Definition at line 355 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_COVER_FRONT 3 |
Definition at line 354 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_DURING_PERFORMANCE 15 |
Definition at line 366 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_DURING_RECORDING 14 |
Definition at line 365 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_FILE_ICON 1 |
Definition at line 352 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_ILLUSTRATION 18 |
Definition at line 369 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_LEAD_ARTIST 7 |
Definition at line 358 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_LEAFLET_PAGE 5 |
Definition at line 356 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_LYRICIST 12 |
Definition at line 363 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_MEDIA 6 |
Definition at line 357 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_OTHER 0 |
Definition at line 351 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_OTHER_FILE_ICON 2 |
Definition at line 353 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_PUBLISHER_LOGOTYPE 20 |
Definition at line 371 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_RECORDING_LOCATION 13 |
Definition at line 364 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PICTURE_TYPE_SCREEN_CAPTURE 16 |
Definition at line 367 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_PRIVATE static |
Definition at line 300 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_STRINGIFY | ( | x | ) | #x |
Definition at line 230 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_TRUE 1 |
Definition at line 271 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_VERSION_MAJOR 0 |
Definition at line 233 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_VERSION_MINOR 12 |
Definition at line 234 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_VERSION_REVISION 31 |
Definition at line 235 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_VERSION_STRING DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MAJOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MINOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_REVISION) |
Definition at line 236 of file rhino/demo/c/dr_libs/dr_flac.h.
#define DRFLAC_XSTRINGIFY | ( | x | ) | DRFLAC_STRINGIFY(x) |
Definition at line 231 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef drflac_uint32 drflac_bool32 |
Definition at line 270 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef drflac_uint8 drflac_bool8 |
Definition at line 269 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef drflac_uint32 drflac_cache_t |
Definition at line 337 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef signed short drflac_int16 |
Definition at line 243 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef signed int drflac_int32 |
Definition at line 245 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef signed long long drflac_int64 |
Definition at line 258 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef signed char drflac_int8 |
Definition at line 241 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef void(* drflac_meta_proc) (void *pUserData, drflac_metadata *pMetadata) |
Definition at line 561 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef size_t(* drflac_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
Definition at line 510 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef drflac_bool32(* drflac_seek_proc) (void *pUserData, int offset, drflac_seek_origin origin) |
Definition at line 541 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef unsigned short drflac_uint16 |
Definition at line 244 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef unsigned int drflac_uint32 |
Definition at line 246 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef unsigned long long drflac_uint64 |
Definition at line 259 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef unsigned char drflac_uint8 |
Definition at line 242 of file rhino/demo/c/dr_libs/dr_flac.h.
typedef drflac_uint32 drflac_uintptr |
Definition at line 267 of file rhino/demo/c/dr_libs/dr_flac.h.
enum drflac_container |
Definition at line 373 of file rhino/demo/c/dr_libs/dr_flac.h.
enum drflac_seek_origin |
Definition at line 380 of file rhino/demo/c/dr_libs/dr_flac.h.
DRFLAC_API void drflac_close | ( | drflac * | pFlac | ) |
Definition at line 56763 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API void drflac_free | ( | void * | p, |
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59227 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API void drflac_init_cuesheet_track_iterator | ( | drflac_cuesheet_track_iterator * | pIter, |
drflac_uint32 | trackCount, | ||
const void * | pTrackData | ||
) |
Definition at line 59263 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API void drflac_init_vorbis_comment_iterator | ( | drflac_vorbis_comment_iterator * | pIter, |
drflac_uint32 | commentCount, | ||
const void * | pComments | ||
) |
Definition at line 59235 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_bool32 drflac_next_cuesheet_track | ( | drflac_cuesheet_track_iterator * | pIter, |
drflac_cuesheet_track * | pCuesheetTrack | ||
) |
Definition at line 59271 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
const DRFLAC_API char* drflac_next_vorbis_comment | ( | drflac_vorbis_comment_iterator * | pIter, |
drflac_uint32 * | pCommentLengthOut | ||
) |
Definition at line 59243 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56747 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API float* drflac_open_and_read_pcm_frames_f32 | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59099 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int16* drflac_open_and_read_pcm_frames_s16 | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59081 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int32* drflac_open_and_read_pcm_frames_s32 | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59063 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_file | ( | const char * | pFileName, |
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56601 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API float* drflac_open_file_and_read_pcm_frames_f32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59154 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int16* drflac_open_file_and_read_pcm_frames_s16 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59136 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int32* drflac_open_file_and_read_pcm_frames_s32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59118 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_file_w | ( | const wchar_t * | pFileName, |
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56615 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_file_with_metadata | ( | const char * | pFileName, |
drflac_meta_proc | onMeta, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56629 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_file_with_metadata_w | ( | const wchar_t * | pFileName, |
drflac_meta_proc | onMeta, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56643 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_memory | ( | const void * | pData, |
size_t | dataSize, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56697 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API float* drflac_open_memory_and_read_pcm_frames_f32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59209 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int16* drflac_open_memory_and_read_pcm_frames_s16 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59191 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_int32* drflac_open_memory_and_read_pcm_frames_s32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drflac_uint64 * | totalPCMFrameCount, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 59173 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_memory_with_metadata | ( | const void * | pData, |
size_t | dataSize, | ||
drflac_meta_proc | onMeta, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56722 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_relaxed | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
drflac_container | container, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56751 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_with_metadata | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
drflac_meta_proc | onMeta, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56755 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac* drflac_open_with_metadata_relaxed | ( | drflac_read_proc | onRead, |
drflac_seek_proc | onSeek, | ||
drflac_meta_proc | onMeta, | ||
drflac_container | container, | ||
void * | pUserData, | ||
const drflac_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 56759 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_f32 | ( | drflac * | pFlac, |
drflac_uint64 | framesToRead, | ||
float * | pBufferOut | ||
) |
Definition at line 58850 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s16 | ( | drflac * | pFlac, |
drflac_uint64 | framesToRead, | ||
drflac_int16 * | pBufferOut | ||
) |
Definition at line 58123 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s32 | ( | drflac * | pFlac, |
drflac_uint64 | framesToRead, | ||
drflac_int32 * | pBufferOut | ||
) |
Definition at line 57386 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API drflac_bool32 drflac_seek_to_pcm_frame | ( | drflac * | pFlac, |
drflac_uint64 | pcmFrameIndex | ||
) |
Definition at line 58917 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
DRFLAC_API void drflac_version | ( | drflac_uint32 * | pMajor, |
drflac_uint32 * | pMinor, | ||
drflac_uint32 * | pRevision | ||
) |
Definition at line 51424 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
const DRFLAC_API char* drflac_version_string | ( | void | ) |
Definition at line 51436 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.