diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2024-05-12 17:10:01 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2024-05-12 17:10:01 +0200 |
commit | 35702d95a8ae34279c0a21035a3b7f9a7286dcfa (patch) | |
tree | b57d737bddcaccb54055b1f7657b327f38ed2192 /audio.c | |
parent | 3a0242c399e274323d8a68cc45a063b1b2c3bbcd (diff) |
Make pipewire and audio capturing optional
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,8 @@ * along with streamer. If not, see <https://www.gnu.org/licenses/>. */ +#ifdef USE_PIPEWIRE + #include "audio.h" #include <errno.h> @@ -277,3 +279,5 @@ void AudioContextDestroy(struct AudioContext* audio_context) { free(audio_context); pw_deinit(); } + +#endif // USE_PIPEWIRE |