LMMS
Loading...
Searching...
No Matches
dr_flac.h File Reference
#include <stddef.h>

Go to the source code of this file.

Classes

struct  drflac_seekpoint
struct  drflac_streaminfo
struct  drflac_allocation_callbacks
struct  drflac__memory_stream
struct  drflac_bs
struct  drflac_subframe
struct  drflac_frame_header
struct  drflac_frame
struct  drflac
struct  drflac_vorbis_comment_iterator
struct  drflac_cuesheet_track_iterator
struct  drflac_cuesheet_track_index
struct  drflac_cuesheet_track

Macros

#define DRFLAC_STRINGIFY(x)
#define DRFLAC_XSTRINGIFY(x)
#define DRFLAC_VERSION_MAJOR   0
#define DRFLAC_VERSION_MINOR   12
#define DRFLAC_VERSION_REVISION   31
#define DRFLAC_VERSION_STRING   DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MAJOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MINOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_REVISION)
#define DRFLAC_TRUE   1
#define DRFLAC_FALSE   0
#define DRFLAC_API   extern
#define DRFLAC_PRIVATE   static
#define DRFLAC_DEPRECATED
#define DR_FLAC_BUFFER_SIZE   4096
#define DRFLAC_METADATA_BLOCK_TYPE_STREAMINFO   0
#define DRFLAC_METADATA_BLOCK_TYPE_PADDING   1
#define DRFLAC_METADATA_BLOCK_TYPE_APPLICATION   2
#define DRFLAC_METADATA_BLOCK_TYPE_SEEKTABLE   3
#define DRFLAC_METADATA_BLOCK_TYPE_VORBIS_COMMENT   4
#define DRFLAC_METADATA_BLOCK_TYPE_CUESHEET   5
#define DRFLAC_METADATA_BLOCK_TYPE_PICTURE   6
#define DRFLAC_METADATA_BLOCK_TYPE_INVALID   127
#define DRFLAC_PICTURE_TYPE_OTHER   0
#define DRFLAC_PICTURE_TYPE_FILE_ICON   1
#define DRFLAC_PICTURE_TYPE_OTHER_FILE_ICON   2
#define DRFLAC_PICTURE_TYPE_COVER_FRONT   3
#define DRFLAC_PICTURE_TYPE_COVER_BACK   4
#define DRFLAC_PICTURE_TYPE_LEAFLET_PAGE   5
#define DRFLAC_PICTURE_TYPE_MEDIA   6
#define DRFLAC_PICTURE_TYPE_LEAD_ARTIST   7
#define DRFLAC_PICTURE_TYPE_ARTIST   8
#define DRFLAC_PICTURE_TYPE_CONDUCTOR   9
#define DRFLAC_PICTURE_TYPE_BAND   10
#define DRFLAC_PICTURE_TYPE_COMPOSER   11
#define DRFLAC_PICTURE_TYPE_LYRICIST   12
#define DRFLAC_PICTURE_TYPE_RECORDING_LOCATION   13
#define DRFLAC_PICTURE_TYPE_DURING_RECORDING   14
#define DRFLAC_PICTURE_TYPE_DURING_PERFORMANCE   15
#define DRFLAC_PICTURE_TYPE_SCREEN_CAPTURE   16
#define DRFLAC_PICTURE_TYPE_BRIGHT_COLORED_FISH   17
#define DRFLAC_PICTURE_TYPE_ILLUSTRATION   18
#define DRFLAC_PICTURE_TYPE_BAND_LOGOTYPE   19
#define DRFLAC_PICTURE_TYPE_PUBLISHER_LOGOTYPE   20

Typedefs

typedef signed char drflac_int8
typedef unsigned char drflac_uint8
typedef signed short drflac_int16
typedef unsigned short drflac_uint16
typedef signed int drflac_int32
typedef unsigned int drflac_uint32
typedef signed long long drflac_int64
typedef unsigned long long drflac_uint64
typedef drflac_uint32 drflac_uintptr
typedef drflac_uint8 drflac_bool8
typedef drflac_uint32 drflac_bool32
typedef drflac_uint32 drflac_cache_t
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 void(* drflac_meta_proc) (void *pUserData, drflac_metadata *pMetadata)

Enumerations

enum  drflac_container { drflac_container_native , drflac_container_ogg , drflac_container_unknown }
enum  drflac_seek_origin { drflac_seek_origin_start , drflac_seek_origin_current }

Functions

DRFLAC_API void drflac_version (drflac_uint32 *pMajor, drflac_uint32 *pMinor, drflac_uint32 *pRevision)
DRFLAC_API const char * drflac_version_string (void)
DRFLAC_API drflacdrflac_open (drflac_read_proc onRead, drflac_seek_proc onSeek, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_relaxed (drflac_read_proc onRead, drflac_seek_proc onSeek, drflac_container container, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_with_metadata (drflac_read_proc onRead, drflac_seek_proc onSeek, drflac_meta_proc onMeta, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_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)
DRFLAC_API void drflac_close (drflac *pFlac)
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s32 (drflac *pFlac, drflac_uint64 framesToRead, drflac_int32 *pBufferOut)
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s16 (drflac *pFlac, drflac_uint64 framesToRead, drflac_int16 *pBufferOut)
DRFLAC_API drflac_uint64 drflac_read_pcm_frames_f32 (drflac *pFlac, drflac_uint64 framesToRead, float *pBufferOut)
DRFLAC_API drflac_bool32 drflac_seek_to_pcm_frame (drflac *pFlac, drflac_uint64 pcmFrameIndex)
DRFLAC_API drflacdrflac_open_file (const char *pFileName, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_file_w (const wchar_t *pFileName, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_file_with_metadata (const char *pFileName, drflac_meta_proc onMeta, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_file_with_metadata_w (const wchar_t *pFileName, drflac_meta_proc onMeta, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_memory (const void *pData, size_t dataSize, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflacdrflac_open_memory_with_metadata (const void *pData, size_t dataSize, drflac_meta_proc onMeta, void *pUserData, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflac_int32drflac_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)
DRFLAC_API drflac_int16drflac_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)
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)
DRFLAC_API drflac_int32drflac_open_file_and_read_pcm_frames_s32 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drflac_uint64 *totalPCMFrameCount, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API drflac_int16drflac_open_file_and_read_pcm_frames_s16 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drflac_uint64 *totalPCMFrameCount, const drflac_allocation_callbacks *pAllocationCallbacks)
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)
DRFLAC_API drflac_int32drflac_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)
DRFLAC_API drflac_int16drflac_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)
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)
DRFLAC_API void drflac_free (void *p, const drflac_allocation_callbacks *pAllocationCallbacks)
DRFLAC_API void drflac_init_vorbis_comment_iterator (drflac_vorbis_comment_iterator *pIter, drflac_uint32 commentCount, const void *pComments)
DRFLAC_API const char * drflac_next_vorbis_comment (drflac_vorbis_comment_iterator *pIter, drflac_uint32 *pCommentLengthOut)
DRFLAC_API void drflac_init_cuesheet_track_iterator (drflac_cuesheet_track_iterator *pIter, drflac_uint32 trackCount, const void *pTrackData)
DRFLAC_API drflac_bool32 drflac_next_cuesheet_track (drflac_cuesheet_track_iterator *pIter, drflac_cuesheet_track *pCuesheetTrack)

Macro Definition Documentation

◆ DR_FLAC_BUFFER_SIZE

#define DR_FLAC_BUFFER_SIZE   4096

◆ DRFLAC_API

#define DRFLAC_API   extern

◆ DRFLAC_DEPRECATED

#define DRFLAC_DEPRECATED

◆ DRFLAC_FALSE

#define DRFLAC_FALSE   0

◆ DRFLAC_METADATA_BLOCK_TYPE_APPLICATION

#define DRFLAC_METADATA_BLOCK_TYPE_APPLICATION   2

◆ DRFLAC_METADATA_BLOCK_TYPE_CUESHEET

#define DRFLAC_METADATA_BLOCK_TYPE_CUESHEET   5

◆ DRFLAC_METADATA_BLOCK_TYPE_INVALID

#define DRFLAC_METADATA_BLOCK_TYPE_INVALID   127

◆ DRFLAC_METADATA_BLOCK_TYPE_PADDING

#define DRFLAC_METADATA_BLOCK_TYPE_PADDING   1

◆ DRFLAC_METADATA_BLOCK_TYPE_PICTURE

#define DRFLAC_METADATA_BLOCK_TYPE_PICTURE   6

◆ DRFLAC_METADATA_BLOCK_TYPE_SEEKTABLE

#define DRFLAC_METADATA_BLOCK_TYPE_SEEKTABLE   3

◆ DRFLAC_METADATA_BLOCK_TYPE_STREAMINFO

#define DRFLAC_METADATA_BLOCK_TYPE_STREAMINFO   0

◆ DRFLAC_METADATA_BLOCK_TYPE_VORBIS_COMMENT

#define DRFLAC_METADATA_BLOCK_TYPE_VORBIS_COMMENT   4

◆ DRFLAC_PICTURE_TYPE_ARTIST

#define DRFLAC_PICTURE_TYPE_ARTIST   8

◆ DRFLAC_PICTURE_TYPE_BAND

#define DRFLAC_PICTURE_TYPE_BAND   10

◆ DRFLAC_PICTURE_TYPE_BAND_LOGOTYPE

#define DRFLAC_PICTURE_TYPE_BAND_LOGOTYPE   19

◆ DRFLAC_PICTURE_TYPE_BRIGHT_COLORED_FISH

#define DRFLAC_PICTURE_TYPE_BRIGHT_COLORED_FISH   17

◆ DRFLAC_PICTURE_TYPE_COMPOSER

#define DRFLAC_PICTURE_TYPE_COMPOSER   11

◆ DRFLAC_PICTURE_TYPE_CONDUCTOR

#define DRFLAC_PICTURE_TYPE_CONDUCTOR   9

◆ DRFLAC_PICTURE_TYPE_COVER_BACK

#define DRFLAC_PICTURE_TYPE_COVER_BACK   4

◆ DRFLAC_PICTURE_TYPE_COVER_FRONT

#define DRFLAC_PICTURE_TYPE_COVER_FRONT   3

◆ DRFLAC_PICTURE_TYPE_DURING_PERFORMANCE

#define DRFLAC_PICTURE_TYPE_DURING_PERFORMANCE   15

◆ DRFLAC_PICTURE_TYPE_DURING_RECORDING

#define DRFLAC_PICTURE_TYPE_DURING_RECORDING   14

◆ DRFLAC_PICTURE_TYPE_FILE_ICON

#define DRFLAC_PICTURE_TYPE_FILE_ICON   1

◆ DRFLAC_PICTURE_TYPE_ILLUSTRATION

#define DRFLAC_PICTURE_TYPE_ILLUSTRATION   18

◆ DRFLAC_PICTURE_TYPE_LEAD_ARTIST

#define DRFLAC_PICTURE_TYPE_LEAD_ARTIST   7

◆ DRFLAC_PICTURE_TYPE_LEAFLET_PAGE

#define DRFLAC_PICTURE_TYPE_LEAFLET_PAGE   5

◆ DRFLAC_PICTURE_TYPE_LYRICIST

#define DRFLAC_PICTURE_TYPE_LYRICIST   12

◆ DRFLAC_PICTURE_TYPE_MEDIA

#define DRFLAC_PICTURE_TYPE_MEDIA   6

◆ DRFLAC_PICTURE_TYPE_OTHER

#define DRFLAC_PICTURE_TYPE_OTHER   0

◆ DRFLAC_PICTURE_TYPE_OTHER_FILE_ICON

#define DRFLAC_PICTURE_TYPE_OTHER_FILE_ICON   2

◆ DRFLAC_PICTURE_TYPE_PUBLISHER_LOGOTYPE

#define DRFLAC_PICTURE_TYPE_PUBLISHER_LOGOTYPE   20

◆ DRFLAC_PICTURE_TYPE_RECORDING_LOCATION

#define DRFLAC_PICTURE_TYPE_RECORDING_LOCATION   13

◆ DRFLAC_PICTURE_TYPE_SCREEN_CAPTURE

#define DRFLAC_PICTURE_TYPE_SCREEN_CAPTURE   16

◆ DRFLAC_PRIVATE

#define DRFLAC_PRIVATE   static

◆ DRFLAC_STRINGIFY

#define DRFLAC_STRINGIFY ( x)
Value:
#x

◆ DRFLAC_TRUE

#define DRFLAC_TRUE   1

◆ DRFLAC_VERSION_MAJOR

#define DRFLAC_VERSION_MAJOR   0

◆ DRFLAC_VERSION_MINOR

#define DRFLAC_VERSION_MINOR   12

◆ DRFLAC_VERSION_REVISION

#define DRFLAC_VERSION_REVISION   31

◆ DRFLAC_VERSION_STRING

◆ DRFLAC_XSTRINGIFY

#define DRFLAC_XSTRINGIFY ( x)
Value:
unsigned x[BMAX+1]
Definition inflate.c:1586
#define DRFLAC_STRINGIFY(x)
Definition dr_flac.h:230

Typedef Documentation

◆ drflac_bool32

◆ drflac_bool8

◆ drflac_cache_t

◆ drflac_int16

typedef signed short drflac_int16

◆ drflac_int32

typedef signed int drflac_int32

◆ drflac_int64

typedef signed long long drflac_int64

◆ drflac_int8

typedef signed char drflac_int8

◆ drflac_meta_proc

typedef void(* drflac_meta_proc) (void *pUserData, drflac_metadata *pMetadata)

◆ drflac_read_proc

typedef size_t(* drflac_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead)

◆ drflac_seek_proc

typedef drflac_bool32(* drflac_seek_proc) (void *pUserData, int offset, drflac_seek_origin origin)

◆ drflac_uint16

typedef unsigned short drflac_uint16

◆ drflac_uint32

typedef unsigned int drflac_uint32

◆ drflac_uint64

typedef unsigned long long drflac_uint64

◆ drflac_uint8

typedef unsigned char drflac_uint8

◆ drflac_uintptr

Enumeration Type Documentation

◆ drflac_container

Enumerator
drflac_container_native 
drflac_container_ogg 
drflac_container_unknown 

◆ drflac_seek_origin

Enumerator
drflac_seek_origin_start 
drflac_seek_origin_current 

Function Documentation

◆ drflac_close()

DRFLAC_API void drflac_close ( drflac * pFlac)

◆ drflac_free()

DRFLAC_API void drflac_free ( void * p,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_init_cuesheet_track_iterator()

DRFLAC_API void drflac_init_cuesheet_track_iterator ( drflac_cuesheet_track_iterator * pIter,
drflac_uint32 trackCount,
const void * pTrackData )

◆ drflac_init_vorbis_comment_iterator()

DRFLAC_API void drflac_init_vorbis_comment_iterator ( drflac_vorbis_comment_iterator * pIter,
drflac_uint32 commentCount,
const void * pComments )

◆ drflac_next_cuesheet_track()

DRFLAC_API drflac_bool32 drflac_next_cuesheet_track ( drflac_cuesheet_track_iterator * pIter,
drflac_cuesheet_track * pCuesheetTrack )

◆ drflac_next_vorbis_comment()

DRFLAC_API const char * drflac_next_vorbis_comment ( drflac_vorbis_comment_iterator * pIter,
drflac_uint32 * pCommentLengthOut )

◆ drflac_open()

DRFLAC_API drflac * drflac_open ( drflac_read_proc onRead,
drflac_seek_proc onSeek,
void * pUserData,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_and_read_pcm_frames_f32()

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 )

◆ drflac_open_and_read_pcm_frames_s16()

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 )

◆ drflac_open_and_read_pcm_frames_s32()

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 )

◆ drflac_open_file()

DRFLAC_API drflac * drflac_open_file ( const char * pFileName,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_file_and_read_pcm_frames_f32()

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 )

◆ drflac_open_file_and_read_pcm_frames_s16()

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 )

◆ drflac_open_file_and_read_pcm_frames_s32()

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 )

◆ drflac_open_file_w()

DRFLAC_API drflac * drflac_open_file_w ( const wchar_t * pFileName,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_file_with_metadata()

DRFLAC_API drflac * drflac_open_file_with_metadata ( const char * pFileName,
drflac_meta_proc onMeta,
void * pUserData,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_file_with_metadata_w()

DRFLAC_API drflac * drflac_open_file_with_metadata_w ( const wchar_t * pFileName,
drflac_meta_proc onMeta,
void * pUserData,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_memory()

DRFLAC_API drflac * drflac_open_memory ( const void * pData,
size_t dataSize,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_memory_and_read_pcm_frames_f32()

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 )

◆ drflac_open_memory_and_read_pcm_frames_s16()

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 )

◆ drflac_open_memory_and_read_pcm_frames_s32()

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 )

◆ drflac_open_memory_with_metadata()

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 )

◆ drflac_open_relaxed()

DRFLAC_API drflac * drflac_open_relaxed ( drflac_read_proc onRead,
drflac_seek_proc onSeek,
drflac_container container,
void * pUserData,
const drflac_allocation_callbacks * pAllocationCallbacks )

◆ drflac_open_with_metadata()

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 )

◆ drflac_open_with_metadata_relaxed()

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 )

◆ drflac_read_pcm_frames_f32()

DRFLAC_API drflac_uint64 drflac_read_pcm_frames_f32 ( drflac * pFlac,
drflac_uint64 framesToRead,
float * pBufferOut )

◆ drflac_read_pcm_frames_s16()

DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s16 ( drflac * pFlac,
drflac_uint64 framesToRead,
drflac_int16 * pBufferOut )

◆ drflac_read_pcm_frames_s32()

DRFLAC_API drflac_uint64 drflac_read_pcm_frames_s32 ( drflac * pFlac,
drflac_uint64 framesToRead,
drflac_int32 * pBufferOut )

◆ drflac_seek_to_pcm_frame()

DRFLAC_API drflac_bool32 drflac_seek_to_pcm_frame ( drflac * pFlac,
drflac_uint64 pcmFrameIndex )

◆ drflac_version()

DRFLAC_API void drflac_version ( drflac_uint32 * pMajor,
drflac_uint32 * pMinor,
drflac_uint32 * pRevision )

◆ drflac_version_string()

DRFLAC_API const char * drflac_version_string ( void )