Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC |