From 5d74b5cee1c11e7035ba99fa23d724175203319c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 May 2019 18:39:00 +0200 Subject: input/cache: first draft of the file cache --- src/player/Control.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/player/Control.hxx') 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; -- cgit v1.2.3