/[svn]/libgig/trunk/src/RIFF.h
ViewVC logotype

Diff of /libgig/trunk/src/RIFF.h

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

revision 3480 by schoenebeck, Thu Feb 21 20:31:31 2019 UTC revision 3481 by schoenebeck, Fri Feb 22 12:12:50 2019 UTC
# Line 221  namespace RIFF { Line 221  namespace RIFF {
221          float __range_max;             ///< Only for internal usage, do not modify!          float __range_max;             ///< Only for internal usage, do not modify!
222          progress_t();          progress_t();
223          std::vector<progress_t> subdivide(int iSubtasks);          std::vector<progress_t> subdivide(int iSubtasks);
224            std::vector<progress_t> subdivide(std::vector<float> vSubTaskPortions);
225      };      };
226    
227      /** @brief Ordinary RIFF Chunk      /** @brief Ordinary RIFF Chunk
# Line 238  namespace RIFF { Line 239  namespace RIFF {
239              file_offset_t  GetSize() const { return ullCurrentChunkSize; } ///< Chunk size in bytes (without header, thus the chunk data body)              file_offset_t  GetSize() const { return ullCurrentChunkSize; } ///< Chunk size in bytes (without header, thus the chunk data body)
240              file_offset_t  GetNewSize() const { return ullNewChunkSize; } ///< New chunk size if it was modified with Resize(), otherwise value returned will be equal to GetSize().              file_offset_t  GetNewSize() const { return ullNewChunkSize; } ///< New chunk size if it was modified with Resize(), otherwise value returned will be equal to GetSize().
241              file_offset_t  GetPos() const { return ullPos; }            ///< Position within the chunk data body (starting with 0).              file_offset_t  GetPos() const { return ullPos; }            ///< Position within the chunk data body (starting with 0).
242              file_offset_t  GetFilePos() const { return ullStartPos + ullPos; } ///< Current, actual offset of chunk data body start in file.              file_offset_t  GetFilePos() const { return ullStartPos + ullPos; } ///< Current, actual offset in file of current chunk data body read/write position.
243              file_offset_t  SetPos(file_offset_t Where, stream_whence_t Whence = stream_start);              file_offset_t  SetPos(file_offset_t Where, stream_whence_t Whence = stream_start);
244              file_offset_t  RemainingBytes() const;              file_offset_t  RemainingBytes() const;
245              stream_state_t GetState() const;              stream_state_t GetState() const;

Legend:
Removed from v.3480  
changed lines
  Added in v.3481

  ViewVC Help
Powered by ViewVC