summaryrefslogtreecommitdiff
path: root/src/decoder/Control.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-08 18:39:00 +0200
committerMax Kellermann <max@musicpd.org>2019-05-31 17:49:52 +0200
commit5d74b5cee1c11e7035ba99fa23d724175203319c (patch)
treeed1fa91f3807bca59b2064ea288ba436d1791cfd /src/decoder/Control.cxx
parente8a0ce643a5e00e768f31387000cdddb2a93cb44 (diff)
input/cache: first draft of the file cache
Diffstat (limited to 'src/decoder/Control.cxx')
-rw-r--r--src/decoder/Control.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder/Control.cxx b/src/decoder/Control.cxx
index 75473d5e2..c8c04c079 100644
--- a/src/decoder/Control.cxx
+++ b/src/decoder/Control.cxx
@@ -26,9 +26,11 @@
#include <assert.h>
DecoderControl::DecoderControl(Mutex &_mutex, Cond &_client_cond,
+ InputCacheManager *_input_cache,
const AudioFormat _configured_audio_format,
const ReplayGainConfig &_replay_gain_config) noexcept
:thread(BIND_THIS_METHOD(RunThread)),
+ input_cache(_input_cache),
mutex(_mutex), client_cond(_client_cond),
configured_audio_format(_configured_audio_format),
replay_gain_config(_replay_gain_config) {}