diff options
author | Max Kellermann <max@duempel.org> | 2014-09-02 20:02:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-02 20:02:56 +0200 |
commit | 5121316036ae5af381066474037fc28fbcd63696 (patch) | |
tree | e2b1921fb5f6becdc6429f81d7fe89a277c8a381 | |
parent | 68bdfa9d0eac9326f3ec729614e5b688fa2f8b39 (diff) | |
download | mpd-5121316036ae5af381066474037fc28fbcd63696.tar.gz mpd-5121316036ae5af381066474037fc28fbcd63696.tar.xz mpd-5121316036ae5af381066474037fc28fbcd63696.zip |
input/async: add method IsPaused()
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 6e0031a0a..7935f1a17 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -85,6 +85,10 @@ protected: void Pause(); + bool IsPaused() const { + return paused; + } + /** * Declare that the underlying stream was closed. We will * continue feeding Read() calls from the buffer until it runs |