From 9a0cd791b8bcfe2ef2624f72fc02dcfbbad920db Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 6 Jul 2018 18:47:45 +1000 Subject: [PATCH] Fix a warning. --- mini_al.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini_al.h b/mini_al.h index 3f23fe07..ac0b75c6 100644 --- a/mini_al.h +++ b/mini_al.h @@ -23041,7 +23041,6 @@ static MAL_INLINE float mal_src_sinc__get_input_sample_from_window(const mal_src mal_assert(sampleIndex < (mal_int32)pSRC->config.sinc.windowWidth); // The window should always be contained within the input cache. - mal_assert(windowPosInSamples >= 0); mal_assert(windowPosInSamples < mal_countof(pSRC->sinc.input[0]) - pSRC->config.sinc.windowWidth); return pSRC->sinc.input[channel][windowPosInSamples + pSRC->config.sinc.windowWidth + sampleIndex]; @@ -25824,6 +25823,7 @@ mal_uint64 mal_sine_wave_read(mal_sine_wave* pSineWave, mal_uint64 count, float* // // v0.x-dev - 2018-xx-xx // - Fix a compilation error on the Android build. +// - Fix warnings. // // v0.8 - 2018-07-05 // - Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old