--- libgig/trunk/src/gig.h 2007/05/20 10:11:39 1199 +++ libgig/trunk/src/gig.h 2007/05/26 13:59:40 1207 @@ -323,6 +323,13 @@ progress_t(); }; + /** @brief CRC-32 checksum implementation + * + * This class is used to calculate checksums of the sample data in + * a gig file. The checksums are stored in the 3crc chunk of the + * gig file and automatically updated when a sample is written + * with Sample::Write(). + */ class CRC { private: uint32_t value; @@ -585,7 +592,7 @@ unsigned long FileNo; ///< File number (> 0 when sample is stored in an extension file, 0 when it's in the gig) RIFF::Chunk* pCk3gix; RIFF::Chunk* pCkSmpl; - CRC crc; + CRC crc; ///< CRC-32 checksum of the raw sample data Sample(File* pFile, RIFF::List* waveList, unsigned long WavePoolOffset, unsigned long fileNo = 0); ~Sample();