aboutsummaryrefslogtreecommitdiffstats
path: root/binding/audiomixer.c
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-06-28 17:29:49 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-06-28 17:31:49 +0300
commit89d96fa77eb7bbb6bc5258f54df2878a24b34850 (patch)
treed1514400e88537da8e4be937b5db011f1738974e /binding/audiomixer.c
parent6b65b2855929190135e8498f5511e9cf8e7a0c26 (diff)
audiomixer: use pipewire's debug system in the audiomixer thread
Because the binder doesn't like printing messages with its own mechanism from other threads. Change-Id: I6fac81fc6de58f7cbbf2f93b9795c0833e44d85c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'binding/audiomixer.c')
-rw-r--r--binding/audiomixer.c7
1 files changed, 1 insertions, 6 deletions
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
{