From e8d47459a4c77e629859fd6a655e47a21781c4d0 Mon Sep 17 00:00:00 2001 From: xenakios Date: Thu, 31 May 2018 14:11:53 +0300 Subject: [PATCH] foo --- Source/PS_Source/Input/AInputS.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/PS_Source/Input/AInputS.h b/Source/PS_Source/Input/AInputS.h index 6213b50..2a57da4 100644 --- a/Source/PS_Source/Input/AInputS.h +++ b/Source/PS_Source/Input/AInputS.h @@ -149,7 +149,9 @@ public: auto getCrossFadedSampleLambda=[this,&getSampleLambda](int64_t playpos, int chan, int64_t subt0, int64_t subt1, int xfadelen) { if (m_loop_enabled == false && playpos >= subt1) + { return 0.0f; + } if (playpos >= subt0 && playpos <= subt1 - xfadelen) return getSampleLambda(playpos, chan); if (playpos > (subt1 - xfadelen) && playpos