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

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

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

revision 1207 by persson, Sat May 26 13:59:40 2007 UTC revision 1209 by persson, Sun May 27 13:54:24 2007 UTC
# Line 2973  namespace { Line 2973  namespace {
2973          // order (INFO chunk will be moved to first position later)          // order (INFO chunk will be moved to first position later)
2974          pRIFF->AddSubChunk(CHUNK_ID_VERS, 8);          pRIFF->AddSubChunk(CHUNK_ID_VERS, 8);
2975          pRIFF->AddSubChunk(CHUNK_ID_COLH, 4);          pRIFF->AddSubChunk(CHUNK_ID_COLH, 4);
2976            pRIFF->AddSubChunk(CHUNK_ID_DLID, 16);
2977    
2978            GenerateDLSID();
2979      }      }
2980    
2981      File::File(RIFF::File* pRIFF) : DLS::File(pRIFF) {      File::File(RIFF::File* pRIFF) : DLS::File(pRIFF) {
# Line 3169  namespace { Line 3172  namespace {
3172    
3173         // add mandatory chunks to get the chunks in right order         // add mandatory chunks to get the chunks in right order
3174         lstInstr->AddSubList(LIST_TYPE_INFO);         lstInstr->AddSubList(LIST_TYPE_INFO);
3175           lstInstr->AddSubChunk(CHUNK_ID_DLID, 16);
3176    
3177         Instrument* pInstrument = new Instrument(this, lstInstr);         Instrument* pInstrument = new Instrument(this, lstInstr);
3178           pInstrument->GenerateDLSID();
3179    
3180         lstInstr->AddSubChunk(CHUNK_ID_INSH, 12);         lstInstr->AddSubChunk(CHUNK_ID_INSH, 12);
3181    

Legend:
Removed from v.1207  
changed lines
  Added in v.1209

  ViewVC Help
Powered by ViewVC