From 9f625b0a0da86b0a75de5b3805085301d6690cf1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Apr 2013 20:47:55 +0200 Subject: mixer/Pulse: convert to a class --- src/output/PulseOutputPlugin.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/output/PulseOutputPlugin.cxx') diff --git a/src/output/PulseOutputPlugin.cxx b/src/output/PulseOutputPlugin.cxx index a893b0087..261c92a04 100644 --- a/src/output/PulseOutputPlugin.cxx +++ b/src/output/PulseOutputPlugin.cxx @@ -52,7 +52,7 @@ struct PulseOutput { const char *server; const char *sink; - struct pulse_mixer *mixer; + PulseMixer *mixer; struct pa_threaded_mainloop *mainloop; struct pa_context *context; @@ -91,7 +91,7 @@ pulse_output_unlock(PulseOutput *po) } void -pulse_output_set_mixer(PulseOutput *po, struct pulse_mixer *pm) +pulse_output_set_mixer(PulseOutput *po, PulseMixer *pm) { assert(po != nullptr); assert(po->mixer == nullptr); @@ -117,8 +117,7 @@ pulse_output_set_mixer(PulseOutput *po, struct pulse_mixer *pm) } void -pulse_output_clear_mixer(PulseOutput *po, - G_GNUC_UNUSED struct pulse_mixer *pm) +pulse_output_clear_mixer(PulseOutput *po, gcc_unused PulseMixer *pm) { assert(po != nullptr); assert(pm != nullptr); -- cgit v1.2.3