diff --git a/src/main/sampling/helpers/playback.cpp b/src/main/sampling/helpers/playback.cpp index c83e195..9c12134 100644 --- a/src/main/sampling/helpers/playback.cpp +++ b/src/main/sampling/helpers/playback.cpp @@ -293,29 +293,10 @@ namespace lsp return; case SAMPLE_LOOP_REVERSE_FULL_PP: - // If current batch is in reverse direction, then we need to process - // one more batch in the direct direction - if (pb->bReverse) - { - if (s->nStart < s->nEnd) - break; - b->nStart = pb->nLoopStart; - b->nEnd = 0; - } - else - { - if (s->nEnd < s->nStart) - break; - b->nStart = pb->nLoopEnd; - b->nEnd = sample_len; - } - b->enType = BATCH_TAIL; - return; - case SAMPLE_LOOP_DIRECT_SMART_PP: case SAMPLE_LOOP_REVERSE_SMART_PP: - // If current batch is in reverse direction, then we need to process - // one more batch in the direct direction + // If current batch is in direct/reverse direction, then we need to process + // one more batch in the opposite direction if (pb->bReverse) { if (s->nStart < s->nEnd)