/[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 918 by persson, Sat Sep 2 08:45:37 2006 UTC revision 919 by schoenebeck, Fri Sep 15 19:35:11 2006 UTC
# Line 485  namespace DLS { Line 485  namespace DLS {
485                                                     : SamplerOptions & (~F_WSMP_NO_TRUNCATION);                                                     : SamplerOptions & (~F_WSMP_NO_TRUNCATION);
486          SamplerOptions = (NoSampleCompression) ? SamplerOptions | F_WSMP_NO_COMPRESSION          SamplerOptions = (NoSampleCompression) ? SamplerOptions | F_WSMP_NO_COMPRESSION
487                                                 : SamplerOptions & (~F_WSMP_NO_COMPRESSION);                                                 : SamplerOptions & (~F_WSMP_NO_COMPRESSION);
488            memcpy(&pData[4], &UnityNote, 2);
489            memcpy(&pData[6], &FineTune, 2);
490            memcpy(&pData[8], &Gain, 4);
491            memcpy(&pData[12], &SamplerOptions, 4);
492            memcpy(&pData[16], &SampleLoops, 4);
493          // update loop definitions          // update loop definitions
494          for (uint32_t i = 0; i < SampleLoops; i++) {          for (uint32_t i = 0; i < SampleLoops; i++) {
495              //FIXME: this does not handle extended loop structs correctly              //FIXME: this does not handle extended loop structs correctly

Legend:
Removed from v.918  
changed lines
  Added in v.919

  ViewVC Help
Powered by ViewVC