#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <assert.h>
Go to the source code of this file.
Classes | |
struct | drwav_chunk_header |
struct | drwav__memory_stream |
struct | drwav__memory_stream_write |
struct | drwav_data_format |
struct | drwav_fmt |
struct | drwav_smpl_loop |
struct | drwav_smpl |
struct | drwav |
Macros | |
#define | DRWAV_TRUE 1 |
#define | DRWAV_FALSE 0 |
#define | DR_WAVE_FORMAT_PCM 0x1 |
#define | DR_WAVE_FORMAT_ADPCM 0x2 |
#define | DR_WAVE_FORMAT_IEEE_FLOAT 0x3 |
#define | DR_WAVE_FORMAT_ALAW 0x6 |
#define | DR_WAVE_FORMAT_MULAW 0x7 |
#define | DR_WAVE_FORMAT_DVI_ADPCM 0x11 |
#define | DR_WAVE_FORMAT_EXTENSIBLE 0xFFFE |
#define | DRWAV_MAX_SMPL_LOOPS 1 |
#define | DRWAV_SEQUENTIAL 0x00000001 |
Typedefs | |
typedef int8_t | drwav_int8 |
typedef uint8_t | drwav_uint8 |
typedef int16_t | drwav_int16 |
typedef uint16_t | drwav_uint16 |
typedef int32_t | drwav_int32 |
typedef uint32_t | drwav_uint32 |
typedef int64_t | drwav_int64 |
typedef uint64_t | drwav_uint64 |
typedef drwav_uint8 | drwav_bool8 |
typedef drwav_uint32 | drwav_bool32 |
typedef size_t(* | drwav_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
typedef size_t(* | drwav_write_proc) (void *pUserData, const void *pData, size_t bytesToWrite) |
typedef drwav_bool32(* | drwav_seek_proc) (void *pUserData, int offset, drwav_seek_origin origin) |
typedef drwav_uint64(* | drwav_chunk_proc) (void *pChunkUserData, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pReadSeekUserData, const drwav_chunk_header *pChunkHeader) |
Enumerations | |
enum | drwav_seek_origin { drwav_seek_origin_start, drwav_seek_origin_current } |
enum | drwav_container { drwav_container_riff, drwav_container_w64 } |
Functions | |
drwav_bool32 | drwav_init (drwav *pWav, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData) |
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) |
drwav_bool32 | drwav_init_write (drwav *pWav, const drwav_data_format *pFormat, drwav_write_proc onWrite, drwav_seek_proc onSeek, void *pUserData) |
drwav_bool32 | drwav_init_write_sequential (drwav *pWav, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, drwav_write_proc onWrite, void *pUserData) |
void | drwav_uninit (drwav *pWav) |
drwav * | drwav_open (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData) |
drwav * | drwav_open_ex (drwav_read_proc onRead, drwav_seek_proc onSeek, drwav_chunk_proc onChunk, void *pReadSeekUserData, void *pChunkUserData, drwav_uint32 flags) |
drwav * | drwav_open_write (const drwav_data_format *pFormat, drwav_write_proc onWrite, drwav_seek_proc onSeek, void *pUserData) |
drwav * | drwav_open_write_sequential (const drwav_data_format *pFormat, drwav_uint64 totalSampleCount, drwav_write_proc onWrite, void *pUserData) |
void | drwav_close (drwav *pWav) |
size_t | drwav_read_raw (drwav *pWav, size_t bytesToRead, void *pBufferOut) |
drwav_uint64 | drwav_read_pcm_frames (drwav *pWav, drwav_uint64 framesToRead, void *pBufferOut) |
drwav_bool32 | drwav_seek_to_pcm_frame (drwav *pWav, drwav_uint64 targetFrameIndex) |
size_t | drwav_write_raw (drwav *pWav, size_t bytesToWrite, const void *pData) |
drwav_uint64 | drwav_write_pcm_frames (drwav *pWav, drwav_uint64 framesToWrite, const void *pData) |
drwav_uint64 | drwav_read_pcm_frames_s16 (drwav *pWav, drwav_uint64 framesToRead, drwav_int16 *pBufferOut) |
void | drwav_u8_to_s16 (drwav_int16 *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_s32_to_s16 (drwav_int16 *pOut, const drwav_int32 *pIn, size_t sampleCount) |
void | drwav_f32_to_s16 (drwav_int16 *pOut, const float *pIn, size_t sampleCount) |
void | drwav_f64_to_s16 (drwav_int16 *pOut, const double *pIn, size_t sampleCount) |
void | drwav_alaw_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_mulaw_to_s16 (drwav_int16 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
drwav_uint64 | drwav_read_pcm_frames_f32 (drwav *pWav, drwav_uint64 framesToRead, float *pBufferOut) |
void | drwav_u8_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_s16_to_f32 (float *pOut, const drwav_int16 *pIn, size_t sampleCount) |
void | drwav_s24_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_s32_to_f32 (float *pOut, const drwav_int32 *pIn, size_t sampleCount) |
void | drwav_f64_to_f32 (float *pOut, const double *pIn, size_t sampleCount) |
void | drwav_alaw_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_mulaw_to_f32 (float *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
drwav_uint64 | drwav_read_pcm_frames_s32 (drwav *pWav, drwav_uint64 framesToRead, drwav_int32 *pBufferOut) |
void | drwav_u8_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_s16_to_s32 (drwav_int32 *pOut, const drwav_int16 *pIn, size_t sampleCount) |
void | drwav_s24_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_f32_to_s32 (drwav_int32 *pOut, const float *pIn, size_t sampleCount) |
void | drwav_f64_to_s32 (drwav_int32 *pOut, const double *pIn, size_t sampleCount) |
void | drwav_alaw_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
void | drwav_mulaw_to_s32 (drwav_int32 *pOut, const drwav_uint8 *pIn, size_t sampleCount) |
drwav_bool32 | drwav_init_file (drwav *pWav, const char *filename) |
drwav_bool32 | drwav_init_file_ex (drwav *pWav, const char *filename, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags) |
drwav_bool32 | drwav_init_file_write (drwav *pWav, const char *filename, const drwav_data_format *pFormat) |
drwav_bool32 | drwav_init_file_write_sequential (drwav *pWav, const char *filename, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount) |
drwav * | drwav_open_file (const char *filename) |
drwav * | drwav_open_file_ex (const char *filename, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags) |
drwav * | drwav_open_file_write (const char *filename, const drwav_data_format *pFormat) |
drwav * | drwav_open_file_write_sequential (const char *filename, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount) |
drwav_bool32 | drwav_init_memory (drwav *pWav, const void *data, size_t dataSize) |
drwav_bool32 | drwav_init_memory_ex (drwav *pWav, const void *data, size_t dataSize, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags) |
drwav_bool32 | drwav_init_memory_write (drwav *pWav, void **ppData, size_t *pDataSize, const drwav_data_format *pFormat) |
drwav_bool32 | drwav_init_memory_write_sequential (drwav *pWav, void **ppData, size_t *pDataSize, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount) |
drwav * | drwav_open_memory (const void *data, size_t dataSize) |
drwav * | drwav_open_memory_ex (const void *data, size_t dataSize, drwav_chunk_proc onChunk, void *pChunkUserData, drwav_uint32 flags) |
drwav * | drwav_open_memory_write (void **ppData, size_t *pDataSize, const drwav_data_format *pFormat) |
drwav * | drwav_open_memory_write_sequential (void **ppData, size_t *pDataSize, const drwav_data_format *pFormat, drwav_uint64 totalSampleCount) |
drwav_int16 * | drwav_open_and_read_pcm_frames_s16 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
float * | drwav_open_and_read_pcm_frames_f32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
drwav_int32 * | drwav_open_and_read_pcm_frames_s32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
drwav_int16 * | drwav_open_file_and_read_pcm_frames_s16 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
float * | drwav_open_file_and_read_pcm_frames_f32 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
drwav_int32 * | drwav_open_file_and_read_pcm_frames_s32 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
drwav_int16 * | drwav_open_memory_and_read_pcm_frames_s16 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
float * | drwav_open_memory_and_read_pcm_frames_f32 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
drwav_int32 * | drwav_open_memory_and_read_pcm_frames_s32 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalFrameCount) |
void | drwav_free (void *pDataReturnedByOpenAndRead) |
drwav_uint64 | drwav_read (drwav *pWav, drwav_uint64 samplesToRead, void *pBufferOut) |
drwav_uint64 | drwav_read_s16 (drwav *pWav, drwav_uint64 samplesToRead, drwav_int16 *pBufferOut) |
drwav_uint64 | drwav_read_f32 (drwav *pWav, drwav_uint64 samplesToRead, float *pBufferOut) |
drwav_uint64 | drwav_read_s32 (drwav *pWav, drwav_uint64 samplesToRead, drwav_int32 *pBufferOut) |
drwav_bool32 | drwav_seek_to_sample (drwav *pWav, drwav_uint64 sample) |
drwav_uint64 | drwav_write (drwav *pWav, drwav_uint64 samplesToWrite, const void *pData) |
drwav_int16 * | drwav_open_and_read_s16 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
float * | drwav_open_and_read_f32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
drwav_int32 * | drwav_open_and_read_s32 (drwav_read_proc onRead, drwav_seek_proc onSeek, void *pUserData, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
drwav_int16 * | drwav_open_memory_and_read_s16 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
float * | drwav_open_file_and_read_f32 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
drwav_int32 * | drwav_open_file_and_read_s32 (const char *filename, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
float * | drwav_open_memory_and_read_f32 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
drwav_int32 * | drwav_open_memory_and_read_s32 (const void *data, size_t dataSize, unsigned int *channels, unsigned int *sampleRate, drwav_uint64 *totalSampleCount) |
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 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 |
enum drwav_container |
enum drwav_seek_origin |
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 | ||
) |
drwav_bool32 drwav_init | ( | drwav * | pWav, |
drwav_read_proc | onRead, | ||
drwav_seek_proc | onSeek, | ||
void * | pUserData | ||
) |
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 | ||
) |
drwav_bool32 drwav_init_file | ( | drwav * | pWav, |
const char * | filename | ||
) |
drwav_bool32 drwav_init_file_ex | ( | drwav * | pWav, |
const char * | filename, | ||
drwav_chunk_proc | onChunk, | ||
void * | pChunkUserData, | ||
drwav_uint32 | flags | ||
) |
drwav_bool32 drwav_init_file_write | ( | drwav * | pWav, |
const char * | filename, | ||
const drwav_data_format * | pFormat | ||
) |
drwav_bool32 drwav_init_file_write_sequential | ( | drwav * | pWav, |
const char * | filename, | ||
const drwav_data_format * | pFormat, | ||
drwav_uint64 | totalSampleCount | ||
) |
drwav_bool32 drwav_init_memory | ( | drwav * | pWav, |
const void * | data, | ||
size_t | dataSize | ||
) |
drwav_bool32 drwav_init_memory_ex | ( | drwav * | pWav, |
const void * | data, | ||
size_t | dataSize, | ||
drwav_chunk_proc | onChunk, | ||
void * | pChunkUserData, | ||
drwav_uint32 | flags | ||
) |
drwav_bool32 drwav_init_memory_write | ( | drwav * | pWav, |
void ** | ppData, | ||
size_t * | pDataSize, | ||
const drwav_data_format * | pFormat | ||
) |
drwav_bool32 drwav_init_memory_write_sequential | ( | drwav * | pWav, |
void ** | ppData, | ||
size_t * | pDataSize, | ||
const drwav_data_format * | pFormat, | ||
drwav_uint64 | totalSampleCount | ||
) |
drwav_bool32 drwav_init_write | ( | drwav * | pWav, |
const drwav_data_format * | pFormat, | ||
drwav_write_proc | onWrite, | ||
drwav_seek_proc | onSeek, | ||
void * | pUserData | ||
) |
drwav_bool32 drwav_init_write_sequential | ( | drwav * | pWav, |
const drwav_data_format * | pFormat, | ||
drwav_uint64 | totalSampleCount, | ||
drwav_write_proc | onWrite, | ||
void * | pUserData | ||
) |
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 | ||
) |
drwav* drwav_open | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData | ||
) |
float* drwav_open_and_read_f32 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
float* drwav_open_and_read_pcm_frames_f32 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int16* drwav_open_and_read_pcm_frames_s16 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int32* drwav_open_and_read_pcm_frames_s32 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int16* drwav_open_and_read_s16 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
drwav_int32* drwav_open_and_read_s32 | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
drwav* drwav_open_ex | ( | drwav_read_proc | onRead, |
drwav_seek_proc | onSeek, | ||
drwav_chunk_proc | onChunk, | ||
void * | pReadSeekUserData, | ||
void * | pChunkUserData, | ||
drwav_uint32 | flags | ||
) |
drwav* drwav_open_file | ( | const char * | filename | ) |
float* drwav_open_file_and_read_f32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
float* drwav_open_file_and_read_pcm_frames_f32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int16* drwav_open_file_and_read_pcm_frames_s16 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int32* drwav_open_file_and_read_pcm_frames_s32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int32* drwav_open_file_and_read_s32 | ( | const char * | filename, |
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
drwav* drwav_open_file_ex | ( | const char * | filename, |
drwav_chunk_proc | onChunk, | ||
void * | pChunkUserData, | ||
drwav_uint32 | flags | ||
) |
drwav* drwav_open_file_write | ( | const char * | filename, |
const drwav_data_format * | pFormat | ||
) |
drwav* drwav_open_file_write_sequential | ( | const char * | filename, |
const drwav_data_format * | pFormat, | ||
drwav_uint64 | totalSampleCount | ||
) |
float* drwav_open_memory_and_read_f32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
float* drwav_open_memory_and_read_pcm_frames_f32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int16* drwav_open_memory_and_read_pcm_frames_s16 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int32* drwav_open_memory_and_read_pcm_frames_s32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalFrameCount | ||
) |
drwav_int16 * drwav_open_memory_and_read_s16 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
drwav_int32* drwav_open_memory_and_read_s32 | ( | const void * | data, |
size_t | dataSize, | ||
unsigned int * | channels, | ||
unsigned int * | sampleRate, | ||
drwav_uint64 * | totalSampleCount | ||
) |
drwav* drwav_open_memory_ex | ( | const void * | data, |
size_t | dataSize, | ||
drwav_chunk_proc | onChunk, | ||
void * | pChunkUserData, | ||
drwav_uint32 | flags | ||
) |
drwav* drwav_open_memory_write | ( | void ** | ppData, |
size_t * | pDataSize, | ||
const drwav_data_format * | pFormat | ||
) |
drwav* drwav_open_memory_write_sequential | ( | void ** | ppData, |
size_t * | pDataSize, | ||
const drwav_data_format * | pFormat, | ||
drwav_uint64 | totalSampleCount | ||
) |
drwav* drwav_open_write | ( | const drwav_data_format * | pFormat, |
drwav_write_proc | onWrite, | ||
drwav_seek_proc | onSeek, | ||
void * | pUserData | ||
) |
drwav* drwav_open_write_sequential | ( | const drwav_data_format * | pFormat, |
drwav_uint64 | totalSampleCount, | ||
drwav_write_proc | onWrite, | ||
void * | pUserData | ||
) |
drwav_uint64 drwav_read | ( | drwav * | pWav, |
drwav_uint64 | samplesToRead, | ||
void * | pBufferOut | ||
) |
drwav_uint64 drwav_read_f32 | ( | drwav * | pWav, |
drwav_uint64 | samplesToRead, | ||
float * | pBufferOut | ||
) |
drwav_uint64 drwav_read_pcm_frames | ( | 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_s16 | ( | 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_s16 | ( | drwav * | pWav, |
drwav_uint64 | samplesToRead, | ||
drwav_int16 * | pBufferOut | ||
) |
drwav_uint64 drwav_read_s32 | ( | drwav * | pWav, |
drwav_uint64 | samplesToRead, | ||
drwav_int32 * | 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_bool32 drwav_seek_to_sample | ( | drwav * | pWav, |
drwav_uint64 | sample | ||
) |
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_uint64 drwav_write | ( | drwav * | pWav, |
drwav_uint64 | samplesToWrite, | ||
const void * | pData | ||
) |
drwav_uint64 drwav_write_pcm_frames | ( | drwav * | pWav, |
drwav_uint64 | framesToWrite, | ||
const void * | pData | ||
) |