/[svn]/linuxsampler/trunk/src/engines/gig/InstrumentResourceManager.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/InstrumentResourceManager.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3966 by schoenebeck, Sat Jun 19 17:30:48 2021 UTC revision 3967 by schoenebeck, Sun Jun 20 11:09:30 2021 UTC
# Line 967  namespace LinuxSampler { namespace gig { Line 967  namespace LinuxSampler { namespace gig {
967          // dimension regions and samples may still be in use - these          // dimension regions and samples may still be in use - these
968          // will be deleted later by the HandBackDimReg function.          // will be deleted later by the HandBackDimReg function.
969          bool deleteFile = true;          bool deleteFile = true;
970          ::gig::Instrument* nextInstrument;          ssize_t iInstr = pResource->CountInstruments();
971          for (::gig::Instrument* instrument = pResource->GetFirstInstrument() ;          for (--iInstr; iInstr >= 0; --iInstr) {
972               instrument ;              ::gig::Instrument* instrument = pResource->GetInstrument(iInstr);
              instrument = nextInstrument) {  
             nextInstrument = pResource->GetNextInstrument();  
973              bool deleteInstrument = true;              bool deleteInstrument = true;
974              ssize_t iRgn = instrument->CountRegions();              ssize_t iRgn = instrument->CountRegions();
975              for (--iRgn; iRgn >= 0; --iRgn) {              for (--iRgn; iRgn >= 0; --iRgn) {

Legend:
Removed from v.3966  
changed lines
  Added in v.3967

  ViewVC Help
Powered by ViewVC