comparison layer/TimeRulerLayer.cpp @ 990:2d4d0dbb94e3 simple-fft-model

Merge from default branch
author Chris Cannam
date Wed, 07 Jan 2015 17:42:21 +0000
parents 3871dffc31bd
children 2adca8f05583
comparison
equal deleted inserted replaced
986:aef8f6fff278 990:2d4d0dbb94e3
86 frame = right; 86 frame = right;
87 break; 87 break;
88 88
89 case SnapNearest: 89 case SnapNearest:
90 { 90 {
91 if (labs(frame - left) > labs(right - frame)) { 91 if (llabs(frame - left) > llabs(right - frame)) {
92 frame = right; 92 frame = right;
93 } else { 93 } else {
94 frame = left; 94 frame = left;
95 } 95 }
96 break; 96 break;