#include "../../dr_flac.h"
#include <FLAC/stream_decoder.h>
#include "../common/dr_common.c"
Go to the source code of this file.
|
static void | libflac__error_callback (const FLAC__StreamDecoder *pStreamDecoder, FLAC__StreamDecoderErrorStatus status, void *client_data) |
|
static FLAC__StreamDecoderLengthStatus | libflac__length_callback (const FLAC__StreamDecoder *pStreamDecoder, FLAC__uint64 *stream_length, void *client_data) |
|
static void | libflac__metadata_callback (const FLAC__StreamDecoder *pStreamDecoder, const FLAC__StreamMetadata *metadata, void *client_data) |
|
static FLAC__StreamDecoderReadStatus | libflac__read_callback (const FLAC__StreamDecoder *pStreamDecoder, FLAC__byte buffer[], size_t *bytes, void *client_data) |
|
static FLAC__StreamDecoderWriteStatus | libflac__write_callback (const FLAC__StreamDecoder *pStreamDecoder, const FLAC__Frame *frame, const FLAC__int32 *const buffer[], void *client_data) |
|
drflac_result | libflac_init_file (const char *pFilePath, libflac *pDecoder) |
|
drflac_uint64 | libflac_read_pcm_frames_f32 (libflac *pDecoder, drflac_uint64 framesToRead, float *pBufferOut) |
|
drflac_uint64 | libflac_read_pcm_frames_s16 (libflac *pDecoder, drflac_uint64 framesToRead, drflac_int16 *pBufferOut) |
|
drflac_uint64 | libflac_read_pcm_frames_s32 (libflac *pDecoder, drflac_uint64 framesToRead, drflac_int32 *pBufferOut) |
|
drflac_bool32 | libflac_seek_to_pcm_frame (libflac *pDecoder, drflac_uint64 targetPCMFrameIndex) |
|
void | libflac_uninit (libflac *pDecoder) |
|
void | print_cpu_caps () |
|
◆ DR_FLAC_IMPLEMENTATION
#define DR_FLAC_IMPLEMENTATION |
◆ libflac__error_callback()
static void libflac__error_callback |
( |
const FLAC__StreamDecoder * |
pStreamDecoder, |
|
|
FLAC__StreamDecoderErrorStatus |
status, |
|
|
void * |
client_data |
|
) |
| |
|
static |
◆ libflac__length_callback()
static FLAC__StreamDecoderLengthStatus libflac__length_callback |
( |
const FLAC__StreamDecoder * |
pStreamDecoder, |
|
|
FLAC__uint64 * |
stream_length, |
|
|
void * |
client_data |
|
) |
| |
|
static |
◆ libflac__metadata_callback()
static void libflac__metadata_callback |
( |
const FLAC__StreamDecoder * |
pStreamDecoder, |
|
|
const FLAC__StreamMetadata * |
metadata, |
|
|
void * |
client_data |
|
) |
| |
|
static |
◆ libflac__read_callback()
static FLAC__StreamDecoderReadStatus libflac__read_callback |
( |
const FLAC__StreamDecoder * |
pStreamDecoder, |
|
|
FLAC__byte |
buffer[], |
|
|
size_t * |
bytes, |
|
|
void * |
client_data |
|
) |
| |
|
static |
◆ libflac__write_callback()
static FLAC__StreamDecoderWriteStatus libflac__write_callback |
( |
const FLAC__StreamDecoder * |
pStreamDecoder, |
|
|
const FLAC__Frame * |
frame, |
|
|
const FLAC__int32 *const |
buffer[], |
|
|
void * |
client_data |
|
) |
| |
|
static |
◆ libflac_init_file()
◆ libflac_read_pcm_frames_f32()
◆ libflac_read_pcm_frames_s16()
◆ libflac_read_pcm_frames_s32()
◆ libflac_seek_to_pcm_frame()
◆ libflac_uninit()
void libflac_uninit |
( |
libflac * |
pDecoder | ) |
|
◆ print_cpu_caps()