Classes | Macros | Typedefs | Enumerations | Functions
porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
Include dependency graph for porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drwav
 
struct  drwav__memory_stream
 
struct  drwav__memory_stream_write
 
struct  drwav_allocation_callbacks
 
struct  drwav_chunk_header
 
struct  drwav_data_format
 
struct  drwav_fmt
 
struct  drwav_smpl
 
struct  drwav_smpl_loop
 

Macros

#define DR_WAVE_FORMAT_ADPCM   0x2
 
#define DR_WAVE_FORMAT_ALAW   0x6
 
#define DR_WAVE_FORMAT_DVI_ADPCM   0x11
 
#define DR_WAVE_FORMAT_EXTENSIBLE   0xFFFE
 
#define DR_WAVE_FORMAT_IEEE_FLOAT   0x3
 
#define DR_WAVE_FORMAT_MULAW   0x7
 
#define DR_WAVE_FORMAT_PCM   0x1
 
#define DRWAV_EOF   -101
 
#define DRWAV_ERROR   -1
 
#define DRWAV_FALSE   0
 
#define DRWAV_INVALID_ARGS   -2
 
#define DRWAV_INVALID_FILE   -100
 
#define DRWAV_INVALID_OPERATION   -3
 
#define DRWAV_MAX_SMPL_LOOPS   1
 
#define DRWAV_SEQUENTIAL   0x00000001
 
#define DRWAV_SUCCESS   0
 
#define DRWAV_TRUE   1
 

Typedefs

typedef drwav_uint32 drwav_bool32
 
typedef drwav_uint8 drwav_bool8
 
typedef drwav_uint64(* drwav_chunk_proc) (void *pChunkUserData, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pReadSeekUserData, const drwav_chunk_header *pChunkHeader)
 
typedef int16_t drwav_int16
 
typedef int32_t drwav_int32
 
typedef int64_t drwav_int64
 
typedef int8_t drwav_int8
 
typedef size_t(* drwav_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead)
 
typedef drwav_int32 drwav_result
 
typedef drwav_bool32(* drwav_seek_proc) (void *pUserData, int offset, drwav_seek_origin origin)
 
typedef uint16_t drwav_uint16
 
typedef uint32_t drwav_uint32
 
typedef uint64_t drwav_uint64
 
typedef uint8_t drwav_uint8
 
typedef size_t(* drwav_write_proc) (void *pUserData, const void *pData, size_t bytesToWrite)
 

Enumerations

enum  drwav_container {
  drwav_container_riff, drwav_container_w64, drwav_container_rf64, drwav_container_riff,
  drwav_container_w64, drwav_container_riff, drwav_container_w64, drwav_container_rf64,
  drwav_container_riff, drwav_container_w64, drwav_container_rf64, drwav_container_riff,
  drwav_container_w64, drwav_container_rf64, drwav_container_riff, drwav_container_w64,
  drwav_container_rf64, drwav_container_riff, drwav_container_w64, drwav_container_rf64,
  drwav_container_riff, drwav_container_w64, drwav_container_riff, drwav_container_w64,
  drwav_container_rf64, drwav_container_riff, drwav_container_w64, drwav_container_rf64
}
 
enum  drwav_seek_origin {
  drwav_seek_origin_start, drwav_seek_origin_current, drwav_seek_origin_start, drwav_seek_origin_current,
  drwav_seek_origin_start, drwav_seek_origin_current, drwav_seek_origin_start, drwav_seek_origin_current,
  drwav_seek_origin_start, drwav_seek_origin_current, drwav_seek_origin_start, drwav_seek_origin_current,
  drwav_seek_origin_start, drwav_seek_origin_current, drwav_seek_origin_start, drwav_seek_origin_current,
  drwav_seek_origin_start, drwav_seek_origin_current, drwav_seek_origin_start, drwav_seek_origin_current
}
 

Functions

void drwav_alaw_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_alaw_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_alaw_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_f32_to_s16 (drwav_int16 *pOut, const float *pIn, size_t sampleCount)
 
void drwav_f32_to_s32 (drwav_int32 *pOut, const float *pIn, size_t sampleCount)
 
void drwav_f64_to_f32 (float *pOut, const double *pIn, size_t sampleCount)
 
void drwav_f64_to_s16 (drwav_int16 *pOut, const double *pIn, size_t sampleCount)
 
void drwav_f64_to_s32 (drwav_int32 *pOut, const double *pIn, size_t sampleCount)
 
void drwav_free (void *p, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init (drwav *pWav, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_ex (drwav *pWav, drwav_read_proc onRead, drwav_seek_proc onSeek, drwav_chunk_proc onChunk, void *pReadSeekUserData, void *pChunkUserData, drwav_uint32 flags, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file (drwav *pWav, const char *filename, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_ex (drwav *pWav, const char *filename, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_ex_w (drwav *pWav, const wchar_t *filename, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_w (drwav *pWav, const wchar_t *filename, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write (drwav *pWav, const char *filename, const drwav_data_format *pFormat, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write_sequential (drwav *pWav, const char *filename, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write_sequential_pcm_frames (drwav *pWav, const char *filename, const drwav_data_format *pFormat, drwav_uint64 totalPCMFrameCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write_sequential_pcm_frames_w (drwav *pWav, const wchar_t *filename, const drwav_data_format *pFormat, drwav_uint64 totalPCMFrameCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write_sequential_w (drwav *pWav, const wchar_t *filename, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_file_write_w (drwav *pWav, const wchar_t *filename, const drwav_data_format *pFormat, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_memory (drwav *pWav, const void *data, size_t dataSize, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_memory_ex (drwav *pWav, const void *data, size_t dataSize, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_memory_write (drwav *pWav, void **ppData, size_t *pDataSize, const drwav_data_format *pFormat, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_memory_write_sequential (drwav *pWav, void **ppData, size_t *pDataSize, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_memory_write_sequential_pcm_frames (drwav *pWav, void **ppData, size_t *pDataSize, const drwav_data_format *pFormat, drwav_uint64 totalPCMFrameCount, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_write (drwav *pWav, const drwav_data_format *pFormat, drwav_write_proc onWrite, drwav_seek_proc onSeek, void *pUserData, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_write_sequential (drwav *pWav, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, drwav_write_proc onWrite, void *pUserData, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_bool32 drwav_init_write_sequential_pcm_frames (drwav *pWav, const drwav_data_format *pFormat, drwav_uint64 totalPCMFrameCount, drwav_write_proc onWrite, void *pUserData, const drwav_allocation_callbacks *pAllocationCallbacks)
 
void drwav_mulaw_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_mulaw_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_mulaw_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
float * drwav_open_and_read_pcm_frames_f32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int16drwav_open_and_read_pcm_frames_s16 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int32drwav_open_and_read_pcm_frames_s32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
float * drwav_open_file_and_read_pcm_frames_f32 (const char *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
float * drwav_open_file_and_read_pcm_frames_f32_w (const wchar_t *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int16drwav_open_file_and_read_pcm_frames_s16 (const char *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int16drwav_open_file_and_read_pcm_frames_s16_w (const wchar_t *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int32drwav_open_file_and_read_pcm_frames_s32 (const char *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int32drwav_open_file_and_read_pcm_frames_s32_w (const wchar_t *filename, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
float * drwav_open_memory_and_read_pcm_frames_f32 (const void *data, size_t dataSize, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int16drwav_open_memory_and_read_pcm_frames_s16 (const void *data, size_t dataSize, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_int32drwav_open_memory_and_read_pcm_frames_s32 (const void *data, size_t dataSize, unsigned int *channelsOut, unsigned int *sampleRateOut, drwav_uint64 *totalFrameCountOut, const drwav_allocation_callbacks *pAllocationCallbacks)
 
drwav_uint64 drwav_read_pcm_frames (drwav *pWav, drwav_uint64 framesToRead, void *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_be (drwav *pWav, drwav_uint64 framesToRead, void *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_f32 (drwav *pWav, drwav_uint64 framesToRead, float *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_f32be (drwav *pWav, drwav_uint64 framesToRead, float *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_f32le (drwav *pWav, drwav_uint64 framesToRead, float *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_le (drwav *pWav, drwav_uint64 framesToRead, void *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s16 (drwav *pWav, drwav_uint64 framesToRead, drwav_int16 *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s16be (drwav *pWav, drwav_uint64 framesToRead, drwav_int16 *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s16le (drwav *pWav, drwav_uint64 framesToRead, drwav_int16 *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s32 (drwav *pWav, drwav_uint64 framesToRead, drwav_int32 *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s32be (drwav *pWav, drwav_uint64 framesToRead, drwav_int32 *pBufferOut)
 
drwav_uint64 drwav_read_pcm_frames_s32le (drwav *pWav, drwav_uint64 framesToRead, drwav_int32 *pBufferOut)
 
size_t drwav_read_raw (drwav *pWav, size_t bytesToRead, void *pBufferOut)
 
void drwav_s16_to_f32 (float *pOut, const drwav_int16 *pIn, size_t sampleCount)
 
void drwav_s16_to_s32 (drwav_int32 *pOut, const drwav_int16 *pIn, size_t sampleCount)
 
void drwav_s24_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_s24_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_s24_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_s32_to_f32 (float *pOut, const drwav_int32 *pIn, size_t sampleCount)
 
void drwav_s32_to_s16 (drwav_int16 *pOut, const drwav_int32 *pIn, size_t sampleCount)
 
drwav_bool32 drwav_seek_to_pcm_frame (drwav *pWav, drwav_uint64 targetFrameIndex)
 
drwav_uint64 drwav_target_write_size_bytes (drwav_data_format const *format, drwav_uint64 totalSampleCount)
 
void drwav_u8_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_u8_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
void drwav_u8_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount)
 
drwav_result drwav_uninit (drwav *pWav)
 
drwav_uint64 drwav_write_pcm_frames (drwav *pWav, drwav_uint64 framesToWrite, const void *pData)
 
drwav_uint64 drwav_write_pcm_frames_be (drwav *pWav, drwav_uint64 framesToWrite, const void *pData)
 
drwav_uint64 drwav_write_pcm_frames_le (drwav *pWav, drwav_uint64 framesToWrite, const void *pData)
 
size_t drwav_write_raw (drwav *pWav, size_t bytesToWrite, const void *pData)
 

Macro Definition Documentation

◆ DR_WAVE_FORMAT_ADPCM

#define DR_WAVE_FORMAT_ADPCM   0x2

◆ DR_WAVE_FORMAT_ALAW

#define DR_WAVE_FORMAT_ALAW   0x6

◆ DR_WAVE_FORMAT_DVI_ADPCM

#define DR_WAVE_FORMAT_DVI_ADPCM   0x11

◆ DR_WAVE_FORMAT_EXTENSIBLE

#define DR_WAVE_FORMAT_EXTENSIBLE   0xFFFE

◆ DR_WAVE_FORMAT_IEEE_FLOAT

#define DR_WAVE_FORMAT_IEEE_FLOAT   0x3

◆ DR_WAVE_FORMAT_MULAW

#define DR_WAVE_FORMAT_MULAW   0x7

◆ DR_WAVE_FORMAT_PCM

#define DR_WAVE_FORMAT_PCM   0x1

◆ DRWAV_EOF

#define DRWAV_EOF   -101

◆ DRWAV_ERROR

#define DRWAV_ERROR   -1

◆ DRWAV_FALSE

#define DRWAV_FALSE   0

◆ DRWAV_INVALID_ARGS

#define DRWAV_INVALID_ARGS   -2

◆ DRWAV_INVALID_FILE

#define DRWAV_INVALID_FILE   -100

◆ DRWAV_INVALID_OPERATION

#define DRWAV_INVALID_OPERATION   -3

◆ DRWAV_MAX_SMPL_LOOPS

#define DRWAV_MAX_SMPL_LOOPS   1

◆ DRWAV_SEQUENTIAL

#define DRWAV_SEQUENTIAL   0x00000001

◆ DRWAV_SUCCESS

#define DRWAV_SUCCESS   0

◆ DRWAV_TRUE

#define DRWAV_TRUE   1

Typedef Documentation

◆ drwav_bool32

◆ drwav_bool8

◆ drwav_chunk_proc

typedef drwav_uint64(* drwav_chunk_proc) (void *pChunkUserData, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pReadSeekUserData, const drwav_chunk_header *pChunkHeader)

◆ drwav_int16

typedef int16_t drwav_int16

◆ drwav_int32

typedef int32_t drwav_int32

◆ drwav_int64

typedef int64_t drwav_int64

◆ drwav_int8

typedef int8_t drwav_int8

◆ drwav_read_proc

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

◆ drwav_result

◆ drwav_seek_proc

typedef drwav_bool32(* drwav_seek_proc) (void *pUserData, int offset, drwav_seek_origin origin)

◆ drwav_uint16

typedef uint16_t drwav_uint16

◆ drwav_uint32

typedef uint32_t drwav_uint32

◆ drwav_uint64

typedef uint64_t drwav_uint64

◆ drwav_uint8

typedef uint8_t drwav_uint8

◆ drwav_write_proc

typedef size_t(* drwav_write_proc) (void *pUserData, const void *pData, size_t bytesToWrite)

Enumeration Type Documentation

◆ drwav_container

Enumerator
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 
drwav_container_riff 
drwav_container_w64 
drwav_container_rf64 

Definition at line 357 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.

◆ drwav_seek_origin

Enumerator
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 
drwav_seek_origin_start 
drwav_seek_origin_current 

Definition at line 351 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.

Function Documentation

◆ drwav_alaw_to_f32()

void drwav_alaw_to_f32 ( float *  pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_alaw_to_s16()

void drwav_alaw_to_s16 ( drwav_int16 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_alaw_to_s32()

void drwav_alaw_to_s32 ( drwav_int32 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_f32_to_s16()

void drwav_f32_to_s16 ( drwav_int16 pOut,
const float *  pIn,
size_t  sampleCount 
)

◆ drwav_f32_to_s32()

void drwav_f32_to_s32 ( drwav_int32 pOut,
const float *  pIn,
size_t  sampleCount 
)

◆ drwav_f64_to_f32()

void drwav_f64_to_f32 ( float *  pOut,
const double *  pIn,
size_t  sampleCount 
)

◆ drwav_f64_to_s16()

void drwav_f64_to_s16 ( drwav_int16 pOut,
const double *  pIn,
size_t  sampleCount 
)

◆ drwav_f64_to_s32()

void drwav_f64_to_s32 ( drwav_int32 pOut,
const double *  pIn,
size_t  sampleCount 
)

◆ drwav_free()

void drwav_free ( void *  p,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init()

drwav_bool32 drwav_init ( drwav pWav,
drwav_read_proc  onRead,
drwav_seek_proc  onSeek,
void *  pUserData,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_ex()

drwav_bool32 drwav_init_ex ( drwav pWav,
drwav_read_proc  onRead,
drwav_seek_proc  onSeek,
drwav_chunk_proc  onChunk,
void *  pReadSeekUserData,
void *  pChunkUserData,
drwav_uint32  flags,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file()

drwav_bool32 drwav_init_file ( drwav pWav,
const char *  filename,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_ex()

drwav_bool32 drwav_init_file_ex ( drwav pWav,
const char *  filename,
drwav_chunk_proc  onChunk,
void *  pChunkUserData,
drwav_uint32  flags,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_ex_w()

drwav_bool32 drwav_init_file_ex_w ( drwav pWav,
const wchar_t *  filename,
drwav_chunk_proc  onChunk,
void *  pChunkUserData,
drwav_uint32  flags,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_w()

drwav_bool32 drwav_init_file_w ( drwav pWav,
const wchar_t *  filename,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write()

drwav_bool32 drwav_init_file_write ( drwav pWav,
const char *  filename,
const drwav_data_format pFormat,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write_sequential()

drwav_bool32 drwav_init_file_write_sequential ( drwav pWav,
const char *  filename,
const drwav_data_format pFormat,
drwav_uint64  totalSampleCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write_sequential_pcm_frames()

drwav_bool32 drwav_init_file_write_sequential_pcm_frames ( drwav pWav,
const char *  filename,
const drwav_data_format pFormat,
drwav_uint64  totalPCMFrameCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write_sequential_pcm_frames_w()

drwav_bool32 drwav_init_file_write_sequential_pcm_frames_w ( drwav pWav,
const wchar_t *  filename,
const drwav_data_format pFormat,
drwav_uint64  totalPCMFrameCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write_sequential_w()

drwav_bool32 drwav_init_file_write_sequential_w ( drwav pWav,
const wchar_t *  filename,
const drwav_data_format pFormat,
drwav_uint64  totalSampleCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_file_write_w()

drwav_bool32 drwav_init_file_write_w ( drwav pWav,
const wchar_t *  filename,
const drwav_data_format pFormat,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_memory()

drwav_bool32 drwav_init_memory ( drwav pWav,
const void *  data,
size_t  dataSize,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_memory_ex()

drwav_bool32 drwav_init_memory_ex ( drwav pWav,
const void *  data,
size_t  dataSize,
drwav_chunk_proc  onChunk,
void *  pChunkUserData,
drwav_uint32  flags,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_memory_write()

drwav_bool32 drwav_init_memory_write ( drwav pWav,
void **  ppData,
size_t *  pDataSize,
const drwav_data_format pFormat,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_memory_write_sequential()

drwav_bool32 drwav_init_memory_write_sequential ( drwav pWav,
void **  ppData,
size_t *  pDataSize,
const drwav_data_format pFormat,
drwav_uint64  totalSampleCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_memory_write_sequential_pcm_frames()

drwav_bool32 drwav_init_memory_write_sequential_pcm_frames ( drwav pWav,
void **  ppData,
size_t *  pDataSize,
const drwav_data_format pFormat,
drwav_uint64  totalPCMFrameCount,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_write()

drwav_bool32 drwav_init_write ( drwav pWav,
const drwav_data_format pFormat,
drwav_write_proc  onWrite,
drwav_seek_proc  onSeek,
void *  pUserData,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_write_sequential()

drwav_bool32 drwav_init_write_sequential ( drwav pWav,
const drwav_data_format pFormat,
drwav_uint64  totalSampleCount,
drwav_write_proc  onWrite,
void *  pUserData,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_init_write_sequential_pcm_frames()

drwav_bool32 drwav_init_write_sequential_pcm_frames ( drwav pWav,
const drwav_data_format pFormat,
drwav_uint64  totalPCMFrameCount,
drwav_write_proc  onWrite,
void *  pUserData,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_mulaw_to_f32()

void drwav_mulaw_to_f32 ( float *  pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_mulaw_to_s16()

void drwav_mulaw_to_s16 ( drwav_int16 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_mulaw_to_s32()

void drwav_mulaw_to_s32 ( drwav_int32 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_open_and_read_pcm_frames_f32()

float* drwav_open_and_read_pcm_frames_f32 ( drwav_read_proc  onRead,
drwav_seek_proc  onSeek,
void *  pUserData,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_and_read_pcm_frames_s16()

drwav_int16* drwav_open_and_read_pcm_frames_s16 ( drwav_read_proc  onRead,
drwav_seek_proc  onSeek,
void *  pUserData,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_and_read_pcm_frames_s32()

drwav_int32* drwav_open_and_read_pcm_frames_s32 ( drwav_read_proc  onRead,
drwav_seek_proc  onSeek,
void *  pUserData,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_f32()

float* drwav_open_file_and_read_pcm_frames_f32 ( const char *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_f32_w()

float* drwav_open_file_and_read_pcm_frames_f32_w ( const wchar_t *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_s16()

drwav_int16* drwav_open_file_and_read_pcm_frames_s16 ( const char *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_s16_w()

drwav_int16* drwav_open_file_and_read_pcm_frames_s16_w ( const wchar_t *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_s32()

drwav_int32* drwav_open_file_and_read_pcm_frames_s32 ( const char *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_file_and_read_pcm_frames_s32_w()

drwav_int32* drwav_open_file_and_read_pcm_frames_s32_w ( const wchar_t *  filename,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_memory_and_read_pcm_frames_f32()

float* drwav_open_memory_and_read_pcm_frames_f32 ( const void *  data,
size_t  dataSize,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_memory_and_read_pcm_frames_s16()

drwav_int16* drwav_open_memory_and_read_pcm_frames_s16 ( const void *  data,
size_t  dataSize,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_open_memory_and_read_pcm_frames_s32()

drwav_int32* drwav_open_memory_and_read_pcm_frames_s32 ( const void *  data,
size_t  dataSize,
unsigned int *  channelsOut,
unsigned int *  sampleRateOut,
drwav_uint64 totalFrameCountOut,
const drwav_allocation_callbacks pAllocationCallbacks 
)

◆ drwav_read_pcm_frames()

drwav_uint64 drwav_read_pcm_frames ( drwav pWav,
drwav_uint64  framesToRead,
void *  pBufferOut 
)

◆ drwav_read_pcm_frames_be()

drwav_uint64 drwav_read_pcm_frames_be ( drwav pWav,
drwav_uint64  framesToRead,
void *  pBufferOut 
)

◆ drwav_read_pcm_frames_f32()

drwav_uint64 drwav_read_pcm_frames_f32 ( drwav pWav,
drwav_uint64  framesToRead,
float *  pBufferOut 
)

◆ drwav_read_pcm_frames_f32be()

drwav_uint64 drwav_read_pcm_frames_f32be ( drwav pWav,
drwav_uint64  framesToRead,
float *  pBufferOut 
)

◆ drwav_read_pcm_frames_f32le()

drwav_uint64 drwav_read_pcm_frames_f32le ( drwav pWav,
drwav_uint64  framesToRead,
float *  pBufferOut 
)

◆ drwav_read_pcm_frames_le()

drwav_uint64 drwav_read_pcm_frames_le ( drwav pWav,
drwav_uint64  framesToRead,
void *  pBufferOut 
)

◆ drwav_read_pcm_frames_s16()

drwav_uint64 drwav_read_pcm_frames_s16 ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int16 pBufferOut 
)

◆ drwav_read_pcm_frames_s16be()

drwav_uint64 drwav_read_pcm_frames_s16be ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int16 pBufferOut 
)

◆ drwav_read_pcm_frames_s16le()

drwav_uint64 drwav_read_pcm_frames_s16le ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int16 pBufferOut 
)

◆ drwav_read_pcm_frames_s32()

drwav_uint64 drwav_read_pcm_frames_s32 ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int32 pBufferOut 
)

◆ drwav_read_pcm_frames_s32be()

drwav_uint64 drwav_read_pcm_frames_s32be ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int32 pBufferOut 
)

◆ drwav_read_pcm_frames_s32le()

drwav_uint64 drwav_read_pcm_frames_s32le ( drwav pWav,
drwav_uint64  framesToRead,
drwav_int32 pBufferOut 
)

◆ drwav_read_raw()

size_t drwav_read_raw ( drwav pWav,
size_t  bytesToRead,
void *  pBufferOut 
)

◆ drwav_s16_to_f32()

void drwav_s16_to_f32 ( float *  pOut,
const drwav_int16 pIn,
size_t  sampleCount 
)

◆ drwav_s16_to_s32()

void drwav_s16_to_s32 ( drwav_int32 pOut,
const drwav_int16 pIn,
size_t  sampleCount 
)

◆ drwav_s24_to_f32()

void drwav_s24_to_f32 ( float *  pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_s24_to_s16()

void drwav_s24_to_s16 ( drwav_int16 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_s24_to_s32()

void drwav_s24_to_s32 ( drwav_int32 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_s32_to_f32()

void drwav_s32_to_f32 ( float *  pOut,
const drwav_int32 pIn,
size_t  sampleCount 
)

◆ drwav_s32_to_s16()

void drwav_s32_to_s16 ( drwav_int16 pOut,
const drwav_int32 pIn,
size_t  sampleCount 
)

◆ drwav_seek_to_pcm_frame()

drwav_bool32 drwav_seek_to_pcm_frame ( drwav pWav,
drwav_uint64  targetFrameIndex 
)

◆ drwav_target_write_size_bytes()

drwav_uint64 drwav_target_write_size_bytes ( drwav_data_format const *  format,
drwav_uint64  totalSampleCount 
)

◆ drwav_u8_to_f32()

void drwav_u8_to_f32 ( float *  pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_u8_to_s16()

void drwav_u8_to_s16 ( drwav_int16 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_u8_to_s32()

void drwav_u8_to_s32 ( drwav_int32 pOut,
const drwav_uint8 pIn,
size_t  sampleCount 
)

◆ drwav_uninit()

drwav_result drwav_uninit ( drwav pWav)

◆ drwav_write_pcm_frames()

drwav_uint64 drwav_write_pcm_frames ( drwav pWav,
drwav_uint64  framesToWrite,
const void *  pData 
)

◆ drwav_write_pcm_frames_be()

drwav_uint64 drwav_write_pcm_frames_be ( drwav pWav,
drwav_uint64  framesToWrite,
const void *  pData 
)

◆ drwav_write_pcm_frames_le()

drwav_uint64 drwav_write_pcm_frames_le ( drwav pWav,
drwav_uint64  framesToWrite,
const void *  pData 
)

◆ drwav_write_raw()

size_t drwav_write_raw ( drwav pWav,
size_t  bytesToWrite,
const void *  pData 
)


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