Mercurial > hg > svcore
diff data/fileio/test/AudioFileReaderTest.h @ 968:6b931eeba385
clarify
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:04:41 +0100 |
parents | e06f03013f46 |
children | a1cd5abcb38b |
line wrap: on
line diff
--- a/data/fileio/test/AudioFileReaderTest.h Wed Sep 03 11:01:50 2014 +0100 +++ b/data/fileio/test/AudioFileReaderTest.h Wed Sep 03 11:04:41 2014 +0100 @@ -169,7 +169,7 @@ totdiff += diff; // in edge areas, record this only if it exceeds edgeLimit if (i < edgeSize || i + edgeSize >= read - offset) { - if (diff > edgeLimit) { + if (diff > edgeLimit && diff > maxdiff) { maxdiff = diff; maxAt = i; }