mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.54k stars 1.29k forks source link

DEBUG ASSERT: "delay_frames > 0" in EchoEffect::processChannel() #13799

Open ronso0 opened 1 month ago

ronso0 commented 1 month ago

Bug Description

I hit DEBUG ASSERT: "delay_frames > 0" in EchoEffect::processChannel() at ./src/effects/backends/builtin/echoeffect.cpp:151 when repeatedly triggering hotcue_1_setloop (with default 4 beats).

Strange thing is that the track was not playing.

Version

main, didn't test with other versions, yet

OS

No response

SjxSubham commented 1 month ago

I think The issue arises when delay_frames is calculated to be zero or negative, which happens if the track is not playing and the beat_length or period results in a very small value.

13805