| 340 | } |
| 341 | |
| 342 | void CWaveEditorFDS::SetSample(int i, int s) |
| 343 | { |
| 344 | ASSERT(m_pInstrument != NULL); |
| 345 | if (m_pInstrument->GetSample(i) != s) { // // // |
| 346 | m_pInstrument->SetSample(i, s); |
| 347 | CFamiTrackerDoc::GetDoc()->ModifyIrreversible(); |
| 348 | } |
| 349 | FTEnv.GetSoundGenerator()->WaveChanged(); |
| 350 | } |
| 351 | |
| 352 | int CWaveEditorFDS::GetMaxSamples() const |
| 353 | { |
no test coverage detected