summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-25 15:59:42 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-25 16:07:22 +0200
commiteaa05e71cb55be0f6183fb446b83dbe14d285046 (patch)
tree59cacb7bbabab9e2415ed63e4a0a0835ea9b6100
parent50db2f5a7fef9fc71a1555bbec4737261e39c679 (diff)
engine/filters/enginefilterdelay: Remove useless type conversion
-rw-r--r--src/engine/filters/enginefilterdelay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/filters/enginefilterdelay.h b/src/engine/filters/enginefilterdelay.h
index d267b83089..e57d1ada34 100644
--- a/src/engine/filters/enginefilterdelay.h
+++ b/src/engine/filters/enginefilterdelay.h
@@ -108,7 +108,7 @@ class EngineFilterDelay : public EngineObjectConstIn {
// it is an alternative for using pauseFillter() calls
void processAndPauseFilter(const CSAMPLE* pIn, CSAMPLE* pOutput,
const int iBufferSize) {
- double oldDelay = m_delaySamples;
+ int oldDelay = m_delaySamples;
m_delaySamples = 0;
process(pIn, pOutput, iBufferSize);
m_delaySamples = oldDelay;