summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-06-20 02:08:19 +0200
committerGitHub <noreply@github.com>2020-06-20 02:08:19 +0200
commit1ba445853f81897691734e7930ebe9a68b8cfa99 (patch)
treeb1edcd179825bd2fd96d8991d93f4fd70c91c81d
parentc5cccbb720c553dc98339905f47bbdefe4bc42f8 (diff)
Remove the restrict keyword because it is only restricted in case of m_startFromDry = true.
-rw-r--r--src/engine/filters/enginefilteriir.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/filters/enginefilteriir.h b/src/engine/filters/enginefilteriir.h
index 0ac44c05f1..225eb609d1 100644
--- a/src/engine/filters/enginefilteriir.h
+++ b/src/engine/filters/enginefilteriir.h
@@ -62,9 +62,10 @@ class EngineFilterIIR : public EngineFilterIIRBase {
// this is can be used instead off a final process() call before pause
// It fades to dry or 0 according to the m_startFromDry parameter
// it is an alternative for using pauseFillter() calls
- void processAndPauseFilter(const CSAMPLE* M_RESTRICT pIn,
- CSAMPLE* M_RESTRICT pOutput,
- const int iBufferSize) {
+ void processAndPauseFilter(
+ const CSAMPLE* pIn,
+ CSAMPLE* pOutput,
+ int iBufferSize) {
process(pIn, pOutput, iBufferSize);
if (m_startFromDry) {
SampleUtil::linearCrossfadeBuffersOut(