mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 00:34:03 +02:00
Fix a warning.
This commit is contained in:
@@ -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);
|
mal_assert(sampleIndex < (mal_int32)pSRC->config.sinc.windowWidth);
|
||||||
|
|
||||||
// The window should always be contained within the input cache.
|
// 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);
|
mal_assert(windowPosInSamples < mal_countof(pSRC->sinc.input[0]) - pSRC->config.sinc.windowWidth);
|
||||||
|
|
||||||
return pSRC->sinc.input[channel][windowPosInSamples + pSRC->config.sinc.windowWidth + sampleIndex];
|
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
|
// v0.x-dev - 2018-xx-xx
|
||||||
// - Fix a compilation error on the Android build.
|
// - Fix a compilation error on the Android build.
|
||||||
|
// - Fix warnings.
|
||||||
//
|
//
|
||||||
// v0.8 - 2018-07-05
|
// v0.8 - 2018-07-05
|
||||||
// - Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old
|
// - Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old
|
||||||
|
|||||||
Reference in New Issue
Block a user