| 239 | } |
| 240 | |
| 241 | void Track::SyncLockAdjust(double oldT1, double newT1) |
| 242 | { |
| 243 | const auto endTime = GetEndTime(); |
| 244 | if (newT1 > oldT1 && oldT1 > endTime) |
| 245 | return; |
| 246 | if (newT1 > oldT1) { |
| 247 | auto cutChannels = Cut(oldT1, endTime); |
| 248 | Paste(newT1, *cutChannels); |
| 249 | } |
| 250 | else if (newT1 < oldT1) |
| 251 | // Remove from the track |
| 252 | Clear(newT1, oldT1); |
| 253 | } |
| 254 | |
| 255 | bool Track::Any() const |
| 256 | { return true; } |
no test coverage detected