diff --git a/include/clients/rt/ChromaClient.hpp b/include/clients/rt/ChromaClient.hpp index 58cc720f6..f34de86a9 100644 --- a/include/clients/rt/ChromaClient.hpp +++ b/include/clients/rt/ChromaClient.hpp @@ -102,6 +102,7 @@ class ChromaClient : public FluidBaseClient, public AudioIn, public ControlOut }); output[0](Slice(0,get())) = mChroma; + output[0](Slice(get(), get() - get())).fill(0); } index latency() { return get().winSize(); } diff --git a/include/clients/rt/MFCCClient.hpp b/include/clients/rt/MFCCClient.hpp index 0bdabfaa4..0cab8c696 100644 --- a/include/clients/rt/MFCCClient.hpp +++ b/include/clients/rt/MFCCClient.hpp @@ -118,6 +118,7 @@ class MFCCClient : public FluidBaseClient, public AudioIn, public ControlOut output[0](Slice(0, get())) = mCoefficients(Slice(get(), get())); + output[0](Slice(get(), get() - get())).fill(0); } index latency() { return get().winSize(); } diff --git a/include/clients/rt/MelBandsClient.hpp b/include/clients/rt/MelBandsClient.hpp index 8f36a791d..4af861c4d 100644 --- a/include/clients/rt/MelBandsClient.hpp +++ b/include/clients/rt/MelBandsClient.hpp @@ -107,6 +107,7 @@ class MelBandsClient : public FluidBaseClient, public AudioIn, public ControlOut // for (index i = 0; i < get(); ++i) // output[asUnsigned(i)](0) = static_cast(mBands(i)); output[0](Slice(0,get())) = mBands; + output[0](Slice(get(), get() - get())).fill(0); } index latency() { return get().winSize(); }