Skip to content

Commit

Permalink
ALSA: Fixed compile warning about unused function.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed Nov 5, 2016
1 parent 5819923 commit 7ad3a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/audio/alsa/SDL_alsa_audio.c
Expand Up @@ -310,12 +310,14 @@ swizzle_alsa_channels(_THIS, void *buffer, Uint32 bufferlen)
/* !!! FIXME: update this for 7.1 if needed, later. */
}

#ifdef SND_CHMAP_API_VERSION
/* Some devices have the right channel map, no swizzling necessary */
static void
no_swizzle(_THIS, void *buffer, Uint32 bufferlen)
{
return;
}
#endif /* SND_CHMAP_API_VERSION */


static void
Expand Down

0 comments on commit 7ad3a46

Please sign in to comment.