diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-02 22:13:14 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-02 22:13:14 +0100 |
commit | 17b0add058991ee0be763d88e3673e890f8143bf (patch) | |
tree | 11986ae267860de3af6027e5a1b27083faa287ee /src/filter/Observer.cxx | |
parent | c68ed40661f8077557748b6a00fa40d10bd19f74 (diff) |
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.
Diffstat (limited to 'src/filter/Observer.cxx')
-rw-r--r-- | src/filter/Observer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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<void> FilterPCM(ConstBuffer<void> src) override { return filter->FilterPCM(src); } |