Commit 91d7dac2 authored by David Reid's avatar David Reid

Minor clean up.

parent 4a8d883e
...@@ -6234,11 +6234,9 @@ mal_uint32 mal_dsp_read_frames(mal_dsp* pDSP, mal_uint32 frameCount, void* pFram ...@@ -6234,11 +6234,9 @@ mal_uint32 mal_dsp_read_frames(mal_dsp* pDSP, mal_uint32 frameCount, void* pFram
return pDSP->onRead(frameCount, pFramesOut, pDSP->pUserDataForOnRead); return pDSP->onRead(frameCount, pFramesOut, pDSP->pUserDataForOnRead);
} }
// Slower path - where the real work is done.
#define MAL_DSP_SAMPLE_CHUNK_SIZE 512
float pFrames[2][MAL_MAX_CHANNELS * MAL_DSP_SAMPLE_CHUNK_SIZE]; // Slower path - where the real work is done.
float pFrames[2][MAL_MAX_CHANNELS * 512];
mal_format pFramesFormat[2]; mal_format pFramesFormat[2];
mal_uint32 iFrames = 0; // <-- Used as an index into pFrames and cycles between 0 and 1. mal_uint32 iFrames = 0; // <-- Used as an index into pFrames and cycles between 0 and 1.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment