/[svn]/libgig/trunk/src/DLS.cpp
ViewVC logotype

Diff of /libgig/trunk/src/DLS.cpp

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

revision 1154 by schoenebeck, Wed Apr 11 16:33:56 2007 UTC revision 1155 by schoenebeck, Wed Apr 11 18:11:09 2007 UTC
# Line 494  namespace DLS { Line 494  namespace DLS {
494          }          }
495          // add the new loop          // add the new loop
496          pNewLoops[SampleLoops] = *pLoopDef;          pNewLoops[SampleLoops] = *pLoopDef;
497            // auto correct size field
498            pNewLoops[SampleLoops].Size = sizeof(DLS::sample_loop_t);
499          // free the old array and update the member variables          // free the old array and update the member variables
500          if (SampleLoops) delete[] pSampleLoops;          if (SampleLoops) delete[] pSampleLoops;
501          pSampleLoops = pNewLoops;          pSampleLoops = pNewLoops;

Legend:
Removed from v.1154  
changed lines
  Added in v.1155

  ViewVC Help
Powered by ViewVC