typedef mal_uint32 (* mal_src_read_proc)(mal_src* pSRC, mal_uint32 frameCount, void* pFramesOut, void* pUserData); // Returns the number of frames that were read.
typedef mal_uint32 (* mal_src_read_proc)(mal_src* pSRC, mal_uint32 frameCount, void* pFramesOut, void* pUserData); // Returns the number of frames that were read.
typedef mal_uint32 (* mal_src_read_deinterleaved_proc)(mal_src* pSRC, mal_uint32 frameCount, void** ppSamplesOut, void* pUserData); // Returns the number of frames that were read.
typedef enum
typedef enum
{
{
...
@@ -772,13 +773,14 @@ typedef struct
...
@@ -772,13 +773,14 @@ typedef struct
mal_uint32 channels;
mal_uint32 channels;
mal_src_algorithm algorithm;
mal_src_algorithm algorithm;
mal_uint32 cacheSizeInFrames; // The number of frames to read from the client at a time.
mal_uint32 cacheSizeInFrames; // The number of frames to read from the client at a time.