Labels are time-scaled linearly inside the affected region, and labels after the region are shifted along according to how the region size changed.
| 225 | // Labels are time-scaled linearly inside the affected region, and labels after |
| 226 | // the region are shifted along according to how the region size changed. |
| 227 | bool ChangeSpeedBase::ProcessLabelTrack(LabelTrack* lt) |
| 228 | { |
| 229 | RegionTimeWarper warper { mT0, mT1, |
| 230 | std::make_unique<LinearTimeWarper>( |
| 231 | mT0, mT0, mT1, mT0 + (mT1 - mT0) * mFactor) }; |
| 232 | lt->WarpLabels(warper); |
| 233 | return true; |
| 234 | } |
| 235 | |
| 236 | // ProcessOne() takes a track, transforms it to bunch of buffer-blocks, |
| 237 | // and calls libsamplerate code on these blocks. |
nothing calls this directly
no test coverage detected