From f54bcc1f16f815fb507ac8a8ffd7913f686969d2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 13:38:13 +0200 Subject: FilterPlugin: pass config_param reference --- src/mixer/SoftwareMixerPlugin.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mixer') diff --git a/src/mixer/SoftwareMixerPlugin.cxx b/src/mixer/SoftwareMixerPlugin.cxx index 88702310c..bb0b890ca 100644 --- a/src/mixer/SoftwareMixerPlugin.cxx +++ b/src/mixer/SoftwareMixerPlugin.cxx @@ -25,6 +25,7 @@ #include "FilterInternal.hxx" #include "filter/VolumeFilterPlugin.hxx" #include "pcm/PcmVolume.hxx" +#include "ConfigData.hxx" #include #include @@ -36,7 +37,8 @@ struct SoftwareMixer final : public Mixer { SoftwareMixer() :Mixer(software_mixer_plugin), - filter(filter_new(&volume_filter_plugin, nullptr, nullptr)), + filter(filter_new(&volume_filter_plugin, config_param(), + nullptr)), volume(100) { assert(filter != nullptr); -- cgit v1.2.3