output/Source: add Fill(), ReadTag(), PeekData(), ConsumeData()

Don't expose MusicChunk instances, provide higher-level access to
chunk contents.
This commit is contained in:
Max Kellermann
2016-12-26 13:53:22 +01:00
parent 8a407bfbb0
commit 86d3b25aec
4 changed files with 130 additions and 44 deletions

View File

@@ -30,7 +30,6 @@
#include "system/PeriodClock.hxx"
class PreparedFilter;
class Filter;
class MusicPipe;
class EventLoop;
class Mixer;
@@ -455,7 +454,9 @@ private:
*/
bool WaitForDelay();
bool PlayChunk(const MusicChunk &chunk);
bool FillSourceOrClose();
bool PlayChunk();
/**
* Plays all remaining chunks, until the tail of the pipe has