diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 13:38:13 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 14:07:50 +0200 |
commit | f54bcc1f16f815fb507ac8a8ffd7913f686969d2 (patch) | |
tree | 94bfc2ab6640e54fd28e2518c7820ccb89933d7a /src/mixer | |
parent | ca0d09c50fc4246fdae67b8a33799ea580b68593 (diff) | |
download | mpd-f54bcc1f16f815fb507ac8a8ffd7913f686969d2.tar.gz mpd-f54bcc1f16f815fb507ac8a8ffd7913f686969d2.tar.xz mpd-f54bcc1f16f815fb507ac8a8ffd7913f686969d2.zip |
FilterPlugin: pass config_param reference
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/SoftwareMixerPlugin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <assert.h> #include <math.h> @@ -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); |