diff options
author | Max Kellermann <max@duempel.org> | 2014-02-06 21:10:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-06 21:10:12 +0100 |
commit | 0a0659d737e8788fc1ba02e8c113e55204782716 (patch) | |
tree | 8855ba68e8648bbb81ea94899406e4b2988ae489 /src/mixer/MixerControl.cxx | |
parent | b6df4680df08db7827af56d5adf2a04264f2dcb9 (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.cxx | 2 |
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 ¶m, Error &error) { |