From 17b0add058991ee0be763d88e3673e890f8143bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 2 Jan 2018 22:13:14 +0100 Subject: [PATCH] filter/Observer: pass Reset() to underlying Filter Wohooooo, the method Filter::Reset() has been broken because no implementation of it has ever been called for a loooong time. And nobody ever noticed it. WTF. --- src/filter/Observer.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filter/Observer.cxx b/src/filter/Observer.cxx index 5d6602d46..d7835a7ed 100644 --- a/src/filter/Observer.cxx +++ b/src/filter/Observer.cxx @@ -73,6 +73,10 @@ public: return filter; } + void Reset() override { + filter->Reset(); + } + ConstBuffer FilterPCM(ConstBuffer src) override { return filter->FilterPCM(src); }