Classes | Macros | Typedefs | Functions | Variables
rhino/demo/c/dr_libs/tests/wav/dr_wav_common.c File Reference
#include "../../dr_wav.h"
#include <sndfile.h>
#include "../common/dr_common.c"
Include dependency graph for rhino/demo/c/dr_libs/tests/wav/dr_wav_common.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  libsndfile
 

Macros

#define DR_WAV_IMPLEMENTATION
 

Typedefs

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)
 

Functions

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 ()
 

Variables

dr_handle g_libsndfile = NULL
 
pfn_sf_close libsndfile__sf_close
 
pfn_sf_open_virtual libsndfile__sf_open_virtual
 
pfn_sf_readf_double libsndfile__sf_readf_double
 
pfn_sf_readf_float libsndfile__sf_readf_float
 
pfn_sf_readf_int libsndfile__sf_readf_int
 
pfn_sf_readf_short libsndfile__sf_readf_short
 
pfn_sf_seek libsndfile__sf_seek
 

Macro Definition Documentation

◆ DR_WAV_IMPLEMENTATION

#define DR_WAV_IMPLEMENTATION

Typedef Documentation

◆ 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)

Function Documentation

◆ 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()

drwav_result libsndfile_init_api ( )

◆ libsndfile_init_file()

drwav_result libsndfile_init_file ( const char *  pFilePath,
libsndfile pSndFile 
)

◆ libsndfile_read_pcm_frames_f32()

drwav_uint64 libsndfile_read_pcm_frames_f32 ( libsndfile pSndFile,
drwav_uint64  framesToRead,
float *  pBufferOut 
)

◆ libsndfile_read_pcm_frames_s16()

drwav_uint64 libsndfile_read_pcm_frames_s16 ( libsndfile pSndFile,
drwav_uint64  framesToRead,
drwav_int16 pBufferOut 
)

◆ libsndfile_read_pcm_frames_s32()

drwav_uint64 libsndfile_read_pcm_frames_s32 ( libsndfile pSndFile,
drwav_uint64  framesToRead,
drwav_int32 pBufferOut 
)

◆ libsndfile_seek_to_pcm_frame()

drwav_bool32 libsndfile_seek_to_pcm_frame ( libsndfile pSndFile,
drwav_uint64  targetPCMFrameIndex 
)

◆ libsndfile_uninit()

void libsndfile_uninit ( libsndfile pSndFile)

◆ libsndfile_uninit_api()

void libsndfile_uninit_api ( )

Variable Documentation

◆ g_libsndfile

dr_handle g_libsndfile = NULL

◆ libsndfile__sf_close

pfn_sf_close libsndfile__sf_close

◆ libsndfile__sf_open_virtual

pfn_sf_open_virtual libsndfile__sf_open_virtual

◆ libsndfile__sf_readf_double

pfn_sf_readf_double libsndfile__sf_readf_double

◆ libsndfile__sf_readf_float

pfn_sf_readf_float libsndfile__sf_readf_float

◆ libsndfile__sf_readf_int

pfn_sf_readf_int libsndfile__sf_readf_int

◆ libsndfile__sf_readf_short

pfn_sf_readf_short libsndfile__sf_readf_short

◆ libsndfile__sf_seek

pfn_sf_seek libsndfile__sf_seek


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57