ALSA: Fixed compile warning about unused function.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 05 Nov 2016 21:23:17 +0100
changeset 105820e1dd7514610
parent 10581 56f5a44e876f
child 10583 974f8ebcb819
ALSA: Fixed compile warning about unused function.

Found by buildbot.
src/audio/alsa/SDL_alsa_audio.c
     1.1 --- a/src/audio/alsa/SDL_alsa_audio.c	Sat Nov 05 21:22:58 2016 +0100
     1.2 +++ b/src/audio/alsa/SDL_alsa_audio.c	Sat Nov 05 21:23:17 2016 +0100
     1.3 @@ -310,12 +310,14 @@
     1.4      /* !!! FIXME: update this for 7.1 if needed, later. */
     1.5  }
     1.6  
     1.7 +#ifdef SND_CHMAP_API_VERSION
     1.8  /* Some devices have the right channel map, no swizzling necessary */
     1.9  static void
    1.10  no_swizzle(_THIS, void *buffer, Uint32 bufferlen)
    1.11  {
    1.12      return;
    1.13  }
    1.14 +#endif /* SND_CHMAP_API_VERSION */
    1.15  
    1.16  
    1.17  static void