Browse Source

Fixed warning: no previous extern declaration for non-static variable 'ResamplerFilter'

Fixes https://github.com/libsdl-org/SDL/issues/9556
Sam Lantinga 1 year ago
parent
commit
bdd47f7770
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/SDL_audioresample.c

+ 1 - 1
src/audio/SDL_audioresample.c

@@ -447,7 +447,7 @@ static float Sinc(float *table, int x, int y)
     return (s * y) / x;
 }
 
-Cubic ResamplerFilter[RESAMPLER_SAMPLES_PER_ZERO_CROSSING][RESAMPLER_SAMPLES_PER_FRAME];
+static Cubic ResamplerFilter[RESAMPLER_SAMPLES_PER_ZERO_CROSSING][RESAMPLER_SAMPLES_PER_FRAME];
 
 static void GenerateResamplerFilter()
 {