From 3934d2d30cf97271dc7b33e3b77b101f09f916e7 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sat, 17 Sep 2011 19:50:36 +0200
Subject: output/pulse: don't expose internal struct in public header

Provide _lock() and _unlock() to wrap all accesses from the mixer
plugin.
---
 test/read_mixer.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'test')

diff --git a/test/read_mixer.c b/test/read_mixer.c
index 6512e2e94..6d7ec3458 100644
--- a/test/read_mixer.c
+++ b/test/read_mixer.c
@@ -33,6 +33,16 @@
 #ifdef HAVE_PULSE
 #include "output/pulse_output_plugin.h"
 
+void
+pulse_output_lock(G_GNUC_UNUSED struct pulse_output *po)
+{
+}
+
+void
+pulse_output_unlock(G_GNUC_UNUSED struct pulse_output *po)
+{
+}
+
 void
 pulse_output_set_mixer(G_GNUC_UNUSED struct pulse_output *po,
 		       G_GNUC_UNUSED struct pulse_mixer *pm)
-- 
cgit v1.2.3