summaryrefslogtreecommitdiff
path: root/src/mixer/MixerControl.cxx
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/mixer/MixerControl.cxx
parentb6df4680df08db7827af56d5adf2a04264f2dcb9 (diff)
mixer/Plugin: pass AudioOutput reference to init()
Passing a void pointer is unsafe.
Diffstat (limited to 'src/mixer/MixerControl.cxx')
-rw-r--r--src/mixer/MixerControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/MixerControl.cxx b/src/mixer/MixerControl.cxx
index e7b6e8395..568fad058 100644
--- a/src/mixer/MixerControl.cxx
+++ b/src/mixer/MixerControl.cxx
@@ -26,7 +26,7 @@
Mixer *
mixer_new(EventLoop &event_loop,
- const MixerPlugin &plugin, void *ao,
+ const MixerPlugin &plugin, AudioOutput &ao,
const config_param &param,
Error &error)
{