aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_mixer.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 13:43:36 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:07:50 +0200
commita0beb5fa26e2b66d01a3b21534b848930929a333 (patch)
treeeb6e661a05b5d9994f514a6fbcc50a72d94df722 /test/read_mixer.cxx
parentf54bcc1f16f815fb507ac8a8ffd7913f686969d2 (diff)
downloadmpd-a0beb5fa26e2b66d01a3b21534b848930929a333.tar.gz
mpd-a0beb5fa26e2b66d01a3b21534b848930929a333.tar.xz
mpd-a0beb5fa26e2b66d01a3b21534b848930929a333.zip
MixerPlugin: pass config_param reference
Diffstat (limited to 'test/read_mixer.cxx')
-rw-r--r--test/read_mixer.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx
index 1d8372a98..54c92eea3 100644
--- a/test/read_mixer.cxx
+++ b/test/read_mixer.cxx
@@ -25,6 +25,7 @@
#include "GlobalEvents.hxx"
#include "Main.hxx"
#include "event/Loop.hxx"
+#include "ConfigData.hxx"
#include <glib.h>
@@ -125,7 +126,8 @@ int main(int argc, G_GNUC_UNUSED char **argv)
main_loop = new EventLoop(EventLoop::Default());
- Mixer *mixer = mixer_new(&alsa_mixer_plugin, NULL, NULL, &error);
+ Mixer *mixer = mixer_new(&alsa_mixer_plugin, nullptr,
+ config_param(), &error);
if (mixer == NULL) {
g_printerr("mixer_new() failed: %s\n", error->message);
g_error_free(error);