foo
This commit is contained in:
parent
63b1eabf06
commit
e8d47459a4
@ -149,7 +149,9 @@ public:
|
|||||||
auto getCrossFadedSampleLambda=[this,&getSampleLambda](int64_t playpos, int chan, int64_t subt0, int64_t subt1, int xfadelen)
|
auto getCrossFadedSampleLambda=[this,&getSampleLambda](int64_t playpos, int chan, int64_t subt0, int64_t subt1, int xfadelen)
|
||||||
{
|
{
|
||||||
if (m_loop_enabled == false && playpos >= subt1)
|
if (m_loop_enabled == false && playpos >= subt1)
|
||||||
|
{
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
|
}
|
||||||
if (playpos >= subt0 && playpos <= subt1 - xfadelen)
|
if (playpos >= subt0 && playpos <= subt1 - xfadelen)
|
||||||
return getSampleLambda(playpos, chan);
|
return getSampleLambda(playpos, chan);
|
||||||
if (playpos > (subt1 - xfadelen) && playpos<subt1)
|
if (playpos > (subt1 - xfadelen) && playpos<subt1)
|
||||||
|
Loading…
Reference in New Issue
Block a user