Commit 9a0cd791 authored by David Reid's avatar David Reid

Fix a warning.

parent 3cced155
......@@ -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
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