output/pulse: don't expose internal struct in public header

Provide _lock() and _unlock() to wrap all accesses from the mixer
plugin.
This commit is contained in:
Max Kellermann
2011-09-17 19:50:36 +02:00
parent 423ce9557a
commit 3934d2d30c
4 changed files with 66 additions and 36 deletions

View File

@@ -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)