581 |
// update '3gix' chunk |
// update '3gix' chunk |
582 |
pData = (uint8_t*) pCk3gix->LoadChunkData(); |
pData = (uint8_t*) pCk3gix->LoadChunkData(); |
583 |
store16(&pData[0], iSampleGroup); |
store16(&pData[0], iSampleGroup); |
584 |
|
|
585 |
|
// if the library user toggled the "Compressed" attribute from true to |
586 |
|
// false, then the EWAV chunk associated with compressed samples needs |
587 |
|
// to be deleted |
588 |
|
RIFF::Chunk* ewav = pWaveList->GetSubChunk(CHUNK_ID_EWAV); |
589 |
|
if (ewav && !Compressed) { |
590 |
|
pWaveList->DeleteSubChunk(ewav); |
591 |
|
} |
592 |
} |
} |
593 |
|
|
594 |
/// Scans compressed samples for mandatory informations (e.g. actual number of total sample points). |
/// Scans compressed samples for mandatory informations (e.g. actual number of total sample points). |