diff options
Diffstat (limited to 'src/input/AsyncInputStream.hxx')
-rw-r--r-- | src/input/AsyncInputStream.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index 958f5f690..2577cd9fa 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -83,10 +83,12 @@ public: /* virtual methods from InputStream */ void Check() final; bool IsEOF() noexcept final; - void Seek(offset_type new_offset) final; + void Seek(std::unique_lock<Mutex> &lock, + offset_type new_offset) final; std::unique_ptr<Tag> ReadTag() noexcept final; bool IsAvailable() noexcept final; - size_t Read(void *ptr, size_t read_size) final; + size_t Read(std::unique_lock<Mutex> &lock, + void *ptr, size_t read_size) final; protected: /** |