--- libgig/trunk/src/RIFF.h 2005/11/03 23:49:11 798 +++ libgig/trunk/src/RIFF.h 2006/11/24 12:50:05 933 @@ -1,8 +1,8 @@ /*************************************************************************** * * - * libgig - C++ cross-platform Gigasampler format file loader library * + * libgig - C++ cross-platform Gigasampler format file access library * * * - * Copyright (C) 2003-2005 by Christian Schoenebeck * + * Copyright (C) 2003-2006 by Christian Schoenebeck * * * * * * This library is free software; you can redistribute it and/or modify * @@ -145,6 +145,7 @@ unsigned long ulStartPos; /* actual position in file where chunk (without header) starts */ unsigned long ulPos; /* # of bytes from ulStartPos */ uint8_t* pChunkData; + unsigned long ulChunkDataSize; Chunk(File* pFile); Chunk(File* pFile, List* pParent, uint32_t uiChunkID, uint uiBodySize); @@ -223,6 +224,7 @@ void ReadHeader(unsigned long fPos); void WriteHeader(unsigned long fPos); void LoadSubChunks(); + void LoadSubChunksRecursively(); virtual unsigned long WriteChunk(unsigned long ulWritePos, unsigned long ulCurrentDataOffset); virtual void __resetPos(); ///< Sets List Chunk's read/write position to zero and causes all sub chunks to do the same. };