aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/PulseOutputPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-06 21:10:12 +0100
committerMax Kellermann <max@duempel.org>2014-02-06 21:10:12 +0100
commit0a0659d737e8788fc1ba02e8c113e55204782716 (patch)
tree8855ba68e8648bbb81ea94899406e4b2988ae489 /src/output/plugins/PulseOutputPlugin.hxx
parentb6df4680df08db7827af56d5adf2a04264f2dcb9 (diff)
downloadmpd-0a0659d737e8788fc1ba02e8c113e55204782716.tar.gz
mpd-0a0659d737e8788fc1ba02e8c113e55204782716.tar.xz
mpd-0a0659d737e8788fc1ba02e8c113e55204782716.zip
mixer/Plugin: pass AudioOutput reference to init()
Passing a void pointer is unsafe.
Diffstat (limited to 'src/output/plugins/PulseOutputPlugin.hxx')
-rw-r--r--src/output/plugins/PulseOutputPlugin.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.hxx b/src/output/plugins/PulseOutputPlugin.hxx
index 4d8bf4b59..9219780a5 100644
--- a/src/output/plugins/PulseOutputPlugin.hxx
+++ b/src/output/plugins/PulseOutputPlugin.hxx
@@ -28,19 +28,19 @@ class Error;
extern const struct AudioOutputPlugin pulse_output_plugin;
void
-pulse_output_lock(PulseOutput *po);
+pulse_output_lock(PulseOutput &po);
void
-pulse_output_unlock(PulseOutput *po);
+pulse_output_unlock(PulseOutput &po);
void
-pulse_output_set_mixer(PulseOutput *po, PulseMixer *pm);
+pulse_output_set_mixer(PulseOutput &po, PulseMixer &pm);
void
-pulse_output_clear_mixer(PulseOutput *po, PulseMixer *pm);
+pulse_output_clear_mixer(PulseOutput &po, PulseMixer &pm);
bool
-pulse_output_set_volume(PulseOutput *po,
+pulse_output_set_volume(PulseOutput &po,
const pa_cvolume *volume, Error &error);
#endif