But when dragging loop markers
This bug has existed quite some time.
When playing a loop. If one drags the end loop and the play back loops while the dragging is occurring, reaper stalls and breaks up and just creates an annoying mess.
1. Drag some audio item in a project.
2. Set the loop.
3. Hit play
4. When the playback is near the end of the loop, drag the end loop marker and start to move it to the left.. The play back cursor should pass it and move to the front of the loop, when this happens the audio will distort and the transport will blink red.
I think the issue is in the code logic.
Essentially the end of loop marker should not modify the playback cursor until AFTER it has been let go.
That is, while the mouse has control of the playback cursor(mouse down) it should not be able to affect the playback cursor resetting to the start of the loop.
Instead what reaper probably does: something like
if (playback_cursor >= endloopmarker)
playback_cursor = startloopmarker;
It should do something like
if (playback_cursor >= endloopmarker && !MouseDown)
playback_cursor = startloopmarker;
or whatever... (probably something more intelligent).
There is really no valid reason why dragging the end of loop marker around should cause reaper to stutter.
|