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

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

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

revision 2922 by schoenebeck, Wed May 18 18:04:49 2016 UTC revision 2985 by schoenebeck, Tue Sep 20 22:13:37 2016 UTC
# Line 671  namespace gig { Line 671  namespace gig {
671              virtual void  UpdateChunks(progress_t* pProgress);              virtual void  UpdateChunks(progress_t* pProgress);
672              void CopyAssignMeta(const Sample* orig);              void CopyAssignMeta(const Sample* orig);
673              void CopyAssignWave(const Sample* orig);              void CopyAssignWave(const Sample* orig);
674                bool VerifyWaveData();
675          protected:          protected:
676              static size_t        Instances;               ///< Number of instances of class Sample.              static size_t        Instances;               ///< Number of instances of class Sample.
677              static buffer_t      InternalDecompressionBuffer; ///< Buffer used for decompression as well as for truncation of 24 Bit -> 16 Bit samples.              static buffer_t      InternalDecompressionBuffer; ///< Buffer used for decompression as well as for truncation of 24 Bit -> 16 Bit samples.
# Line 689  namespace gig { Line 690  namespace gig {
690    
691              Sample(File* pFile, RIFF::List* waveList, file_offset_t WavePoolOffset, unsigned long fileNo = 0);              Sample(File* pFile, RIFF::List* waveList, file_offset_t WavePoolOffset, unsigned long fileNo = 0);
692             ~Sample();             ~Sample();
693                uint32_t CalculateWaveDataChecksum();
694    
695              // Guess size (in bytes) of a compressed sample              // Guess size (in bytes) of a compressed sample
696              inline file_offset_t GuessSize(file_offset_t samples) {              inline file_offset_t GuessSize(file_offset_t samples) {
# Line 1267  namespace gig { Line 1269  namespace gig {
1269              virtual void LoadInstruments(progress_t* pProgress);              virtual void LoadInstruments(progress_t* pProgress);
1270              virtual void LoadScriptGroups();              virtual void LoadScriptGroups();
1271              void SetSampleChecksum(Sample* pSample, uint32_t crc);              void SetSampleChecksum(Sample* pSample, uint32_t crc);
1272                uint32_t GetSampleChecksum(Sample* pSample);
1273                bool VerifySampleChecksumTable();
1274                bool RebuildSampleChecksumTable();
1275                int  GetWaveTableIndexOf(gig::Sample* pSample);
1276              friend class Region;              friend class Region;
1277              friend class Sample;              friend class Sample;
1278              friend class Instrument;              friend class Instrument;

Legend:
Removed from v.2922  
changed lines
  Added in v.2985

  ViewVC Help
Powered by ViewVC