summaryrefslogtreecommitdiffstats
path: root/polyp/pactl.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/pactl.c')
-rw-r--r--polyp/pactl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/polyp/pactl.c b/polyp/pactl.c
index 2a466b39..cf2f51c3 100644
--- a/polyp/pactl.c
+++ b/polyp/pactl.c
@@ -41,6 +41,10 @@
#include <polyp/mainloop-signal.h>
#include <polyp/sample.h>
+#if PA_API_VERSION != PA_API_VERSION_0_6
+#error Invalid Polypaudio API version
+#endif
+
#define BUFSIZE 1024
static struct pa_context *context = NULL;