Mercurial > hg > svcore
changeset 313:29485aa03da4
* Make drop behave more sensibly (replace current pane)
author | Chris Cannam |
---|---|
date | Wed, 17 Oct 2007 12:58:45 +0000 |
parents | df707a61b23f |
children | 70a232b1f12a |
files | data/model/AlignmentModel.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/data/model/AlignmentModel.cpp Wed Oct 10 16:21:27 2007 +0000 +++ b/data/model/AlignmentModel.cpp Wed Oct 17 12:58:45 2007 +0000 @@ -215,19 +215,19 @@ if (followingFrame != foundFrame && frame > foundFrame) { - std::cerr << "AlignmentModel::align: foundFrame = " << foundFrame << ", frame = " << frame << ", followingFrame = " << followingFrame << std::endl; +// std::cerr << "AlignmentModel::align: foundFrame = " << foundFrame << ", frame = " << frame << ", followingFrame = " << followingFrame << std::endl; float interp = float(frame - foundFrame) / float(followingFrame - foundFrame); - std::cerr << "AlignmentModel::align: interp = " << interp << ", result " << resultTime << " -> "; +// std::cerr << "AlignmentModel::align: interp = " << interp << ", result " << resultTime << " -> "; resultTime += (followingTime - foundTime) * interp; - std::cerr << resultTime << std::endl; +// std::cerr << resultTime << std::endl; } size_t resultFrame = lrintf(resultTime * getSampleRate()); - std::cerr << "AlignmentModel::align: resultFrame = " << resultFrame << std::endl; +// std::cerr << "AlignmentModel::align: resultFrame = " << resultFrame << std::endl; return resultFrame; }