From a7ae1de9a664748a4a4b3220c72824c26b02a9ba Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Oct 2023 16:37:17 -0700 Subject: [PATCH] Fixed warning C4028: formal parameter different from declaration --- src/audio/SDL_audioresample.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audioresample.h b/src/audio/SDL_audioresample.h index 84aaa2dbc..fcf3f5121 100644 --- a/src/audio/SDL_audioresample.h +++ b/src/audio/SDL_audioresample.h @@ -26,7 +26,7 @@ // Internal functions used by SDL_AudioStream for resampling audio. // The resampler uses 32:32 fixed-point arithmetic to track its position. -Sint64 SDL_GetResampleRate(const int src_rate, const int dst_rate); +Sint64 SDL_GetResampleRate(int src_rate, int dst_rate); int SDL_GetResamplerHistoryFrames(void); int SDL_GetResamplerPaddingFrames(Sint64 resample_rate);