#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <wchar.h>
#include <assert.h>
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) |
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_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_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) |
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_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_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_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_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) |
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_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_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_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) |
#define DR_WAVE_FORMAT_ADPCM 0x2 |
Definition at line 336 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_ALAW 0x6 |
Definition at line 338 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_DVI_ADPCM 0x11 |
Definition at line 340 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_EXTENSIBLE 0xFFFE |
Definition at line 341 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_IEEE_FLOAT 0x3 |
Definition at line 337 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_MULAW 0x7 |
Definition at line 339 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DR_WAVE_FORMAT_PCM 0x1 |
Definition at line 335 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_EOF -101 |
Definition at line 332 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_ERROR -1 |
Definition at line 328 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_FALSE 0 |
Definition at line 320 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_INVALID_ARGS -2 |
Definition at line 329 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_INVALID_FILE -100 |
Definition at line 331 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_INVALID_OPERATION -3 |
Definition at line 330 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_MAX_SMPL_LOOPS 1 |
Definition at line 345 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_SEQUENTIAL 0x00000001 |
Definition at line 349 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_SUCCESS 0 |
Definition at line 327 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
#define DRWAV_TRUE 1 |
Definition at line 319 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef drwav_uint32 drwav_bool32 |
Definition at line 318 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef drwav_uint8 drwav_bool8 |
Definition at line 317 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef drwav_uint64(* drwav_chunk_proc) (void *pChunkUserData, drwav_read_proc onRead, drwav_seek_proc onSeek, void *pReadSeekUserData, const drwav_chunk_header *pChunkHeader) |
Definition at line 438 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef int16_t drwav_int16 |
Definition at line 310 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef int32_t drwav_int32 |
Definition at line 312 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef int64_t drwav_int64 |
Definition at line 314 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef int8_t drwav_int8 |
Definition at line 308 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef size_t(* drwav_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
Definition at line 393 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef drwav_int32 drwav_result |
Definition at line 326 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef drwav_bool32(* drwav_seek_proc) (void *pUserData, int offset, drwav_seek_origin origin) |
Definition at line 420 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef uint16_t drwav_uint16 |
Definition at line 311 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef uint32_t drwav_uint32 |
Definition at line 313 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef uint64_t drwav_uint64 |
Definition at line 315 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef uint8_t drwav_uint8 |
Definition at line 309 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
typedef size_t(* drwav_write_proc) (void *pUserData, const void *pData, size_t bytesToWrite) |
Definition at line 406 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
enum drwav_container |
Definition at line 357 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
enum drwav_seek_origin |
Definition at line 351 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/extras/dr_wav.h.
void drwav_alaw_to_f32 | ( | float * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50416 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_alaw_to_s16 | ( | drwav_int16 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50119 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_alaw_to_s32 | ( | drwav_int32 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50708 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_f32_to_s16 | ( | drwav_int16 * | pOut, |
const float * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50091 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_f32_to_s32 | ( | drwav_int32 * | pOut, |
const float * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50688 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_f64_to_f32 | ( | float * | pOut, |
const double * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50406 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_f64_to_s16 | ( | drwav_int16 * | pOut, |
const double * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50105 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_f64_to_s32 | ( | drwav_int32 * | pOut, |
const double * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50698 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_free | ( | void * | p, |
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 51037 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init | ( | drwav * | pWav, |
drwav_read_proc | onRead, | ||
drwav_seek_proc | onSeek, | ||
void * | pUserData, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 47795 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 47799 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_file | ( | drwav * | pWav, |
const char * | filename, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 48943 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 48963 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 48975 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_file_w | ( | drwav * | pWav, |
const wchar_t * | filename, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 48971 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_file_write | ( | drwav * | pWav, |
const char * | filename, | ||
const drwav_data_format * | pFormat, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 49030 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49034 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49038 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49053 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49049 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_file_write_w | ( | drwav * | pWav, |
const wchar_t * | filename, | ||
const drwav_data_format * | pFormat, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 49045 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_memory | ( | drwav * | pWav, |
const void * | data, | ||
size_t | dataSize, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 49153 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49157 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_init_memory_write | ( | drwav * | pWav, |
void ** | ppData, | ||
size_t * | pDataSize, | ||
const drwav_data_format * | pFormat, | ||
const drwav_allocation_callbacks * | pAllocationCallbacks | ||
) |
Definition at line 49201 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49205 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 49209 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 48378 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 48385 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 48392 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_mulaw_to_f32 | ( | float * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50426 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_mulaw_to_s16 | ( | drwav_int16 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50126 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_mulaw_to_s32 | ( | drwav_int32 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50718 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50847 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50830 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50864 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50899 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50950 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50882 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50933 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50916 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50967 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 51002 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50985 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 51019 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
void * | pBufferOut | ||
) |
Definition at line 49356 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_be | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
void * | pBufferOut | ||
) |
Definition at line 49348 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_f32 | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
float * | pBufferOut | ||
) |
Definition at line 50305 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_f32be | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
float * | pBufferOut | ||
) |
Definition at line 50344 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_f32le | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
float * | pBufferOut | ||
) |
Definition at line 50336 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_le | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
void * | pBufferOut | ||
) |
Definition at line 49325 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s16 | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int16 * | pBufferOut | ||
) |
Definition at line 50013 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s16be | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int16 * | pBufferOut | ||
) |
Definition at line 50052 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s16le | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int16 * | pBufferOut | ||
) |
Definition at line 50044 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s32 | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int32 * | pBufferOut | ||
) |
Definition at line 50607 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s32be | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int32 * | pBufferOut | ||
) |
Definition at line 50646 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_read_pcm_frames_s32le | ( | drwav * | pWav, |
drwav_uint64 | framesToRead, | ||
drwav_int32 * | pBufferOut | ||
) |
Definition at line 50638 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
size_t drwav_read_raw | ( | drwav * | pWav, |
size_t | bytesToRead, | ||
void * | pBufferOut | ||
) |
Definition at line 49281 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s16_to_f32 | ( | float * | pOut, |
const drwav_int16 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50371 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s16_to_s32 | ( | drwav_int32 * | pOut, |
const drwav_int16 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50664 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s24_to_f32 | ( | float * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50381 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s24_to_s16 | ( | drwav_int16 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50071 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s24_to_s32 | ( | drwav_int32 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50674 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s32_to_f32 | ( | float * | pOut, |
const drwav_int32 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50396 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_s32_to_s16 | ( | drwav_int16 * | pOut, |
const drwav_int32 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50081 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_bool32 drwav_seek_to_pcm_frame | ( | drwav * | pWav, |
drwav_uint64 | targetFrameIndex | ||
) |
Definition at line 49385 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
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 | ||
) |
Definition at line 50352 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_u8_to_s16 | ( | drwav_int16 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50060 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
void drwav_u8_to_s32 | ( | drwav_int32 * | pOut, |
const drwav_uint8 * | pIn, | ||
size_t | sampleCount | ||
) |
Definition at line 50654 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_result drwav_uninit | ( | drwav * | pWav | ) |
Definition at line 49216 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_write_pcm_frames | ( | drwav * | pWav, |
drwav_uint64 | framesToWrite, | ||
const void * | pData | ||
) |
Definition at line 49558 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_write_pcm_frames_be | ( | drwav * | pWav, |
drwav_uint64 | framesToWrite, | ||
const void * | pData | ||
) |
Definition at line 49519 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
drwav_uint64 drwav_write_pcm_frames_le | ( | drwav * | pWav, |
drwav_uint64 | framesToWrite, | ||
const void * | pData | ||
) |
Definition at line 49490 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.
size_t drwav_write_raw | ( | drwav * | pWav, |
size_t | bytesToWrite, | ||
const void * | pData | ||
) |
Definition at line 49480 of file porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.c.