summaryrefslogtreecommitdiff
path: root/src/player/Control.hxx
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/player/Control.hxx
parente8a0ce643a5e00e768f31387000cdddb2a93cb44 (diff)
input/cache: first draft of the file cache
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r--src/player/Control.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player/Control.hxx b/src/player/Control.hxx
index 51861d6ec..159a5b7f3 100644
--- a/src/player/Control.hxx
+++ b/src/player/Control.hxx
@@ -39,6 +39,7 @@
struct Tag;
class PlayerListener;
class PlayerOutputs;
+class InputCacheManager;
class DetachedSong;
enum class PlayerState : uint8_t {
@@ -116,6 +117,8 @@ class PlayerControl final : public AudioOutputClient {
PlayerOutputs &outputs;
+ InputCacheManager *const input_cache;
+
const unsigned buffer_chunks;
/**
@@ -234,6 +237,7 @@ class PlayerControl final : public AudioOutputClient {
public:
PlayerControl(PlayerListener &_listener,
PlayerOutputs &_outputs,
+ InputCacheManager *_input_cache,
unsigned buffer_chunks,
AudioFormat _configured_audio_format,
const ReplayGainConfig &_replay_gain_config) noexcept;