diff options
author | Max Kellermann <max@duempel.org> | 2013-04-16 20:47:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-16 21:18:54 +0200 |
commit | 9f625b0a0da86b0a75de5b3805085301d6690cf1 (patch) | |
tree | cea9e06e4789bf0d4313d670669f791da9e4208e /src/output/PulseOutputPlugin.cxx | |
parent | bc1b4131cbee13fa892ff2d5be5b5e0bbf1ae43d (diff) | |
download | mpd-9f625b0a0da86b0a75de5b3805085301d6690cf1.tar.gz mpd-9f625b0a0da86b0a75de5b3805085301d6690cf1.tar.xz mpd-9f625b0a0da86b0a75de5b3805085301d6690cf1.zip |
mixer/Pulse: convert to a class
Diffstat (limited to '')
-rw-r--r-- | src/output/PulseOutputPlugin.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
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); |