| 357 | } |
| 358 | |
| 359 | void EffectChangeSpeed::OnTimeCtrlUpdate(wxCommandEvent & evt) |
| 360 | { |
| 361 | mFormat = NumericConverterFormats::Lookup( |
| 362 | FormatterContext::SampleRateContext(mProjectRate), |
| 363 | NumericConverterType_TIME(), evt.GetString()).Internal(); |
| 364 | |
| 365 | mpFromLengthCtrl->SetFormatName(mFormat); |
| 366 | // Update From/To Length controls (precision has changed). |
| 367 | mpToLengthCtrl->SetValue(mToLength); |
| 368 | mpFromLengthCtrl->SetValue(mFromLength); |
| 369 | } |
| 370 | |
| 371 | // helper functions |
| 372 |
nothing calls this directly
no test coverage detected