#include "../../dr_wav.h"
#include <sndfile.h>
#include "../common/dr_common.c"
Go to the source code of this file.
|
typedef int(* | pfn_sf_close) (SNDFILE *sndfile) |
|
typedef SNDFILE *(* | pfn_sf_open_virtual) (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) |
|
typedef sf_count_t(* | pfn_sf_readf_double) (SNDFILE *sndfile, double *ptr, sf_count_t frames) |
|
typedef sf_count_t(* | pfn_sf_readf_float) (SNDFILE *sndfile, float *ptr, sf_count_t frames) |
|
typedef sf_count_t(* | pfn_sf_readf_int) (SNDFILE *sndfile, int *ptr, sf_count_t frames) |
|
typedef sf_count_t(* | pfn_sf_readf_short) (SNDFILE *sndfile, short *ptr, sf_count_t frames) |
|
typedef sf_count_t(* | pfn_sf_seek) (SNDFILE *sndfile, sf_count_t frames, int whence) |
|
|
sf_count_t | libsndfile__on_filelen (void *user_data) |
|
sf_count_t | libsndfile__on_read (void *ptr, sf_count_t count, void *user_data) |
|
sf_count_t | libsndfile__on_seek (sf_count_t offset, int whence, void *user_data) |
|
sf_count_t | libsndfile__on_tell (void *user_data) |
|
sf_count_t | libsndfile__on_write (const void *ptr, sf_count_t count, void *user_data) |
|
drwav_result | libsndfile_init_api () |
|
drwav_result | libsndfile_init_file (const char *pFilePath, libsndfile *pSndFile) |
|
drwav_uint64 | libsndfile_read_pcm_frames_f32 (libsndfile *pSndFile, drwav_uint64 framesToRead, float *pBufferOut) |
|
drwav_uint64 | libsndfile_read_pcm_frames_s16 (libsndfile *pSndFile, drwav_uint64 framesToRead, drwav_int16 *pBufferOut) |
|
drwav_uint64 | libsndfile_read_pcm_frames_s32 (libsndfile *pSndFile, drwav_uint64 framesToRead, drwav_int32 *pBufferOut) |
|
drwav_bool32 | libsndfile_seek_to_pcm_frame (libsndfile *pSndFile, drwav_uint64 targetPCMFrameIndex) |
|
void | libsndfile_uninit (libsndfile *pSndFile) |
|
void | libsndfile_uninit_api () |
|
◆ DR_WAV_IMPLEMENTATION
#define DR_WAV_IMPLEMENTATION |
◆ pfn_sf_close
typedef int(* pfn_sf_close) (SNDFILE *sndfile) |
◆ pfn_sf_open_virtual
typedef SNDFILE*(* pfn_sf_open_virtual) (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) |
◆ pfn_sf_readf_double
typedef sf_count_t(* pfn_sf_readf_double) (SNDFILE *sndfile, double *ptr, sf_count_t frames) |
◆ pfn_sf_readf_float
typedef sf_count_t(* pfn_sf_readf_float) (SNDFILE *sndfile, float *ptr, sf_count_t frames) |
◆ pfn_sf_readf_int
typedef sf_count_t(* pfn_sf_readf_int) (SNDFILE *sndfile, int *ptr, sf_count_t frames) |
◆ pfn_sf_readf_short
typedef sf_count_t(* pfn_sf_readf_short) (SNDFILE *sndfile, short *ptr, sf_count_t frames) |
◆ pfn_sf_seek
typedef sf_count_t(* pfn_sf_seek) (SNDFILE *sndfile, sf_count_t frames, int whence) |
◆ libsndfile__on_filelen()
sf_count_t libsndfile__on_filelen |
( |
void * |
user_data | ) |
|
◆ libsndfile__on_read()
sf_count_t libsndfile__on_read |
( |
void * |
ptr, |
|
|
sf_count_t |
count, |
|
|
void * |
user_data |
|
) |
| |
◆ libsndfile__on_seek()
sf_count_t libsndfile__on_seek |
( |
sf_count_t |
offset, |
|
|
int |
whence, |
|
|
void * |
user_data |
|
) |
| |
◆ libsndfile__on_tell()
sf_count_t libsndfile__on_tell |
( |
void * |
user_data | ) |
|
◆ libsndfile__on_write()
sf_count_t libsndfile__on_write |
( |
const void * |
ptr, |
|
|
sf_count_t |
count, |
|
|
void * |
user_data |
|
) |
| |
◆ libsndfile_init_api()
◆ libsndfile_init_file()
◆ libsndfile_read_pcm_frames_f32()
◆ libsndfile_read_pcm_frames_s16()
◆ libsndfile_read_pcm_frames_s32()
◆ libsndfile_seek_to_pcm_frame()
◆ libsndfile_uninit()
◆ libsndfile_uninit_api()
void libsndfile_uninit_api |
( |
| ) |
|
◆ g_libsndfile
◆ libsndfile__sf_close
◆ libsndfile__sf_open_virtual
◆ libsndfile__sf_readf_double
◆ libsndfile__sf_readf_float
◆ libsndfile__sf_readf_int
◆ libsndfile__sf_readf_short
◆ libsndfile__sf_seek