6412 |
pSample->DeleteChunks(); |
pSample->DeleteChunks(); |
6413 |
delete pSample; |
delete pSample; |
6414 |
|
|
|
SampleList::iterator tmp = SamplesIterator; |
|
6415 |
// remove all references to the sample |
// remove all references to the sample |
6416 |
size_t iIns = 0; |
size_t iIns = 0; |
6417 |
for (Instrument* instrument = GetInstrument(iIns); instrument; |
for (Instrument* instrument = GetInstrument(iIns); instrument; |
6429 |
} |
} |
6430 |
} |
} |
6431 |
} |
} |
|
SamplesIterator = tmp; // restore iterator |
|
6432 |
} |
} |
6433 |
|
|
6434 |
void File::LoadSamples() { |
void File::LoadSamples() { |