X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/146e86fbdea5a7a4c846e7b4a210ee179e1943d5..6f09d54d3d05dfb9eba0bd658f8a7bd43d5fad59:/server/speaker-alsa.c diff --git a/server/speaker-alsa.c b/server/speaker-alsa.c index 731c4ff..41e53b2 100644 --- a/server/speaker-alsa.c +++ b/server/speaker-alsa.c @@ -20,12 +20,10 @@ /** @file server/speaker-alsa.c * @brief Support for @ref BACKEND_ALSA */ -#include +#include "common.h" #if HAVE_ALSA_ASOUNDLIB_H -#include "types.h" - #include #include #include @@ -219,7 +217,7 @@ static size_t alsa_play(size_t frames) { static int alsa_slots, alsa_nslots = -1; /** @brief Fill in poll fd array for ALSA */ -static void alsa_beforepoll(void) { +static void alsa_beforepoll(int attribute((unused)) *timeoutp) { /* We send sample data to ALSA as fast as it can accept it, relying on * the fact that it has a relatively small buffer to minimize pause * latency. */