Mercurial > hg > svapp
comparison align/TransformDTWAligner.cpp @ 782:700fc9e4852d
Fix compiler warnings
author | Chris Cannam |
---|---|
date | Fri, 17 Jul 2020 14:24:30 +0100 |
parents | b651dc5ff555 |
children |
comparison
equal
deleted
inserted
replaced
781:b651dc5ff555 | 782:700fc9e4852d |
---|---|
198 } | 198 } |
199 } | 199 } |
200 } | 200 } |
201 | 201 |
202 void | 202 void |
203 TransformDTWAligner::completionChanged(ModelId id) | 203 TransformDTWAligner::completionChanged(ModelId |
204 #ifdef DEBUG_TRANSFORM_DTW_ALIGNER | |
205 id | |
206 #endif | |
207 ) | |
204 { | 208 { |
205 if (!m_incomplete) { | 209 if (!m_incomplete) { |
206 return; | 210 return; |
207 } | 211 } |
208 #ifdef DEBUG_TRANSFORM_DTW_ALIGNER | 212 #ifdef DEBUG_TRANSFORM_DTW_ALIGNER |
295 const vector<sv_frame_t> &refFrames, | 299 const vector<sv_frame_t> &refFrames, |
296 const vector<sv_frame_t> &otherFrames, | 300 const vector<sv_frame_t> &otherFrames, |
297 sv_samplerate_t sampleRate, | 301 sv_samplerate_t sampleRate, |
298 sv_frame_t resolution) | 302 sv_frame_t resolution) |
299 { | 303 { |
300 Path path(sampleRate, resolution); | 304 Path path(sampleRate, int(resolution)); |
301 | 305 |
302 path.add(PathPoint(0, 0)); | 306 path.add(PathPoint(0, 0)); |
303 | 307 |
304 for (int i = 0; in_range_for(alignment, i); ++i) { | 308 for (int i = 0; in_range_for(alignment, i); ++i) { |
305 | 309 |