/[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 1218 by persson, Fri Jun 1 19:19:28 2007 UTC revision 1301 by persson, Sat Aug 25 09:59:53 2007 UTC
# Line 441  namespace DLS { Line 441  namespace DLS {
441          UUID uuid;          UUID uuid;
442          UuidCreate(&uuid);          UuidCreate(&uuid);
443          pDLSID->ulData1 = uuid.Data1;          pDLSID->ulData1 = uuid.Data1;
444          pDLSID->usData1 = uuid.Data2;          pDLSID->usData2 = uuid.Data2;
445          pDLSID->usData2 = uuid.Data3;          pDLSID->usData3 = uuid.Data3;
446          memcpy(pDLSID->abData, uuid.Data4, 8);          memcpy(pDLSID->abData, uuid.Data4, 8);
447    
448  #elif defined(__APPLE__)  #elif defined(__APPLE__)
# Line 963  namespace DLS { Line 963  namespace DLS {
963                  }                  }
964              }              }
965          }          }
         if (index < 0) throw Exception("Could not save Region, could not find Region's sample");  
966          WavePoolTableIndex = index;          WavePoolTableIndex = index;
967          // update 'wlnk' chunk          // update 'wlnk' chunk
968          store16(&pData[0], WaveLinkOptionFlags);          store16(&pData[0], WaveLinkOptionFlags);

Legend:
Removed from v.1218  
changed lines
  Added in v.1301

  ViewVC Help
Powered by ViewVC