pcm/Resampler: add virtual method Flush()

Wired to Filter::Flush().

Closes #153
This commit is contained in:
Max Kellermann
2018-01-02 18:22:53 +01:00
parent 6d0d8cf9cf
commit f6ec43b9ec
9 changed files with 69 additions and 0 deletions

View File

@@ -81,6 +81,12 @@ public:
* @return the destination buffer
*/
ConstBuffer<void> Convert(ConstBuffer<void> src);
/**
* Flush pending data and return it. This should be called
* repepatedly until it returns nullptr.
*/
ConstBuffer<void> Flush();
};
void