filter/Filter: add method ReadMore()
This allows FilterPCM() to return more data, which some implementations may need to do (e.g. FFmpeg).
This commit is contained in:
committed by
Max Kellermann
parent
d8bb833ba3
commit
849c4012c0
@@ -68,6 +68,10 @@ public:
|
||||
return filter->FilterPCM(src);
|
||||
}
|
||||
|
||||
std::span<const std::byte> ReadMore() override {
|
||||
return filter->ReadMore();
|
||||
}
|
||||
|
||||
std::span<const std::byte> Flush() override {
|
||||
return filter->Flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user