| 278 | } |
| 279 | |
| 280 | void CInstrumentEditorFDS::OnModDelayChange() |
| 281 | { |
| 282 | if (m_pInstrument) { |
| 283 | int ModDelay = std::clamp(GetDlgItemInt(IDC_MOD_DELAY), 0u, 255u); |
| 284 | if (m_pInstrument->GetModulationDelay() != ModDelay) { |
| 285 | m_pInstrument->SetModulationDelay(ModDelay); // // // |
| 286 | GetDocument()->ModifyIrreversible(); |
| 287 | } |
| 288 | } |
| 289 | FTEnv.GetSoundGenerator()->WaveChanged(); |
| 290 | } |
| 291 | |
| 292 | void CInstrumentEditorFDS::OnBnClickedCopyWave() |
| 293 | { |
nothing calls this directly
no test coverage detected