9 Jul
2018
9 Jul
'18
1:08 p.m.
On Thu, Jul 05, 2018 at 10:07:22PM +0200, Michael Stefaniuc wrote:
@@ -93,11 +90,11 @@ static DWORD ADPCM_GetFormatIndex(const WAVEFORMATEX *wfx) switch (wfx->wFormatTag) { case WAVE_FORMAT_PCM: - hi = NUM_PCM_FORMATS; + hi = ARRAY_SIZE(PCM_Formats); fmts = PCM_Formats; break; case WAVE_FORMAT_IMA_ADPCM: - hi = NUM_ADPCM_FORMATS; + hi = ARRAY_SIZE(ADPCM_Formats); fmts = ADPCM_Formats; break; default:
I'd prefer to keep this as tabs, to stay (more) consistent. Andrew