X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/6d2d327ca57fefaddceba10eb323451f8150e95d..3bfecfac3fadac2fbf945d950a557292e8efb73a:/server/speaker-alsa.c diff --git a/server/speaker-alsa.c b/server/speaker-alsa.c index 80395f3..8ed01a8 100644 --- a/server/speaker-alsa.c +++ b/server/speaker-alsa.c @@ -22,7 +22,7 @@ #include -#if API_ALSA +#if HAVE_ALSA_ASOUNDLIB_H #include "types.h" @@ -219,7 +219,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. */