Просмотр исходного кода

Fixed warning C4028: formal parameter different from declaration

Sam Lantinga 2 лет назад
Родитель
Сommit
a7ae1de9a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/audio/SDL_audioresample.h

+ 1 - 1
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);