mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Minor clean up.
This commit is contained in:
@@ -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.
|
// Slower path - where the real work is done.
|
||||||
|
float pFrames[2][MAL_MAX_CHANNELS * 512];
|
||||||
#define MAL_DSP_SAMPLE_CHUNK_SIZE 512
|
|
||||||
|
|
||||||
float pFrames[2][MAL_MAX_CHANNELS * MAL_DSP_SAMPLE_CHUNK_SIZE];
|
|
||||||
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user