output/Internal: add method ClearTailChunk()

This commit is contained in:
Max Kellermann 2016-12-22 14:46:59 +01:00
parent f86d6b0162
commit ffb8b4fc68
2 changed files with 5 additions and 1 deletions

View File

@ -433,6 +433,10 @@ public:
return IsChunkConsumed(chunk); return IsChunkConsumed(chunk);
} }
void ClearTailChunk(const MusicChunk &chunk) {
pipe.ClearTail(chunk);
}
private: private:
void CommandFinished(); void CommandFinished();

View File

@ -278,7 +278,7 @@ MultipleOutputs::ClearTailChunk(const MusicChunk *chunk,
continue; continue;
} }
ao->pipe.ClearTail(*chunk); ao->ClearTailChunk(*chunk);
} }
} }