chiark / gitweb /
detect ALSA capability automatically
[disorder] / server / speaker.c
index 7f4578de7a69b71f835dcc272020cce046cb5275..41a12e507dc60d680d76cc55de7ded744f47c315 100644 (file)
@@ -372,7 +372,7 @@ int addfd(int fd, int events) {
 
 /** @brief Table of speaker backends */
 static const struct speaker_backend *backends[] = {
-#if API_ALSA
+#if HAVE_ALSA_ASOUNDLIB_H
   &alsa_backend,
 #endif
   &command_backend,