| 266 | } |
| 267 | |
| 268 | void CInstrumentEditorFDS::OnModDepthChange() |
| 269 | { |
| 270 | if (m_pInstrument) { |
| 271 | int ModDepth = std::clamp(GetDlgItemInt(IDC_MOD_DEPTH), 0u, 63u); |
| 272 | if (m_pInstrument->GetModulationDepth() != ModDepth) { |
| 273 | m_pInstrument->SetModulationDepth(ModDepth); // // // |
| 274 | GetDocument()->ModifyIrreversible(); |
| 275 | } |
| 276 | } |
| 277 | FTEnv.GetSoundGenerator()->WaveChanged(); |
| 278 | } |
| 279 | |
| 280 | void CInstrumentEditorFDS::OnModDelayChange() |
| 281 | { |
nothing calls this directly
no test coverage detected