diff options
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/general/silence_trimmer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/general/silence_trimmer.h b/libs/audiographer/audiographer/general/silence_trimmer.h index e7ae089028..7cfa0658f1 100644 --- a/libs/audiographer/audiographer/general/silence_trimmer.h +++ b/libs/audiographer/audiographer/general/silence_trimmer.h @@ -275,7 +275,7 @@ private: { framecnt_t last_sample_index = c.frames() - 1; - for (framecnt_t i = last_sample_index; i != 0; --i) { + for (framecnt_t i = last_sample_index; i >= 0; --i) { if (!tester.is_silent (c.data()[i])) { result_frame = i; // Round down to nearest interleaved "frame" beginning |