AdapterIO: Add IsRunning method

* The backend need to know if we can really get data.
* Adapt WaitForData to be more reliable using this method.
This commit is contained in:
Dario Casalinuovo
2016-07-09 16:18:09 +02:00
parent 5c05bb48f4
commit 0474db50d0
2 changed files with 17 additions and 3 deletions
+2
View File
@@ -58,6 +58,8 @@ public:
virtual status_t Open();
virtual void Close();
virtual bool IsRunning() const;
void SeekCompleted();
status_t SetBuffer(BPositionIO* buffer);