summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c4
1 files changed, 4 insertions, 0 deletions
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 <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