mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Include last sample in reverse test for nonsilence in end trim during export
This commit is contained in:
parent
6b8cadef01
commit
4985f0d7ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue