diff options
author | Max Kellermann <max@duempel.org> | 2014-06-17 02:32:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-17 02:32:17 +0200 |
commit | e1d5ddb478cf8787f6472f14c0889af49b657c79 (patch) | |
tree | 5abafed86fc2c5c165a5fd08fca1269d08300e61 | |
parent | 2da0322329643512fdef2131b3e8666989dd8f26 (diff) | |
download | mpd-e1d5ddb478cf8787f6472f14c0889af49b657c79.tar.gz mpd-e1d5ddb478cf8787f6472f14c0889af49b657c79.tar.xz mpd-e1d5ddb478cf8787f6472f14c0889af49b657c79.zip |
input/AsyncInputStream: add method IsBufferFull()
Diffstat (limited to '')
-rw-r--r-- | src/input/AsyncInputStream.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index f72e7465d..a2945be81 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -90,6 +90,10 @@ protected: return buffer.IsEmpty(); } + bool IsBufferFull() const { + return buffer.IsFull(); + } + gcc_pure size_t GetBufferSpace() const { return buffer.GetSpace(); |