From 35702d95a8ae34279c0a21035a3b7f9a7286dcfa Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sun, 12 May 2024 17:10:01 +0200 Subject: Make pipewire and audio capturing optional --- audio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio.c') diff --git a/audio.c b/audio.c index 358382a..0395748 100644 --- a/audio.c +++ b/audio.c @@ -15,6 +15,8 @@ * along with streamer. If not, see . */ +#ifdef USE_PIPEWIRE + #include "audio.h" #include @@ -277,3 +279,5 @@ void AudioContextDestroy(struct AudioContext* audio_context) { free(audio_context); pw_deinit(); } + +#endif // USE_PIPEWIRE -- cgit v1.2.3