diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-08 18:39:00 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-05-31 17:49:52 +0200 |
commit | 5d74b5cee1c11e7035ba99fa23d724175203319c (patch) | |
tree | ed1fa91f3807bca59b2064ea288ba436d1791cfd /src/player/Control.hxx | |
parent | e8a0ce643a5e00e768f31387000cdddb2a93cb44 (diff) |
input/cache: first draft of the file cache
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r-- | src/player/Control.hxx | 4 |
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; |