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) { |
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 |
|
|