summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
Diffstat (limited to 'binding')
-rw-r--r--binding/CMakeLists.txt1
-rw-r--r--binding/audiomixer.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt
index 587d137..c199ad2 100644
--- a/binding/CMakeLists.txt
+++ b/binding/CMakeLists.txt
@@ -1,7 +1,6 @@
PROJECT_TARGET_ADD(audiomixer-binding)
add_definitions(-DAFB_BINDING_VERSION=3)
- add_definitions(-DBUILDING_APPFW_BINDING)
set(audiomixer_SOURCES
audiomixer-binding.c
diff --git a/binding/audiomixer.c b/binding/audiomixer.c
index 85ecfc0..91255d5 100644
--- a/binding/audiomixer.c
+++ b/binding/audiomixer.c
@@ -10,12 +10,7 @@
#include <pipewire/array.h>
#include <pipewire/extensions/endpoint.h>
-#if !defined(BUILDING_APPFW_BINDING)
-#define debug(...) fprintf(stdout, __VA_ARGS__)
-#else
-#include <afb/afb-binding.h>
-#define debug(...) AFB_DEBUG(__VA_ARGS__)
-#endif
+#define debug(...) pw_log_debug(__VA_ARGS__)
struct audiomixer
{