From 91d7dac22e1e8e900c4ceb1ac968a121542de2f6 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 8 Apr 2017 21:02:27 +1000 Subject: [PATCH] Minor clean up. --- mini_al.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mini_al.h b/mini_al.h index 1d5d4ef0..d2dbc80b 100644 --- a/mini_al.h +++ b/mini_al.h @@ -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); } + // 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]; + float pFrames[2][MAL_MAX_CHANNELS * 512]; mal_format pFramesFormat[2]; mal_uint32 iFrames = 0; // <-- Used as an index into pFrames and cycles between 0 and 1.