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

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

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

revision 1153 by persson, Sun Mar 18 07:13:06 2007 UTC revision 1154 by schoenebeck, Wed Apr 11 16:33:56 2007 UTC
# Line 224  namespace DLS { Line 224  namespace DLS {
224    
225      /** Defines Sample Loop Points. */      /** Defines Sample Loop Points. */
226      struct sample_loop_t {      struct sample_loop_t {
227          uint32_t Size;          uint32_t Size;       ///< For internal usage only: usually reflects exactly @c sizeof(sample_loop_t), otherwise if the value is larger then the DLS format was extended!
228          uint32_t LoopType;          uint32_t LoopType;   ///< Defines how the waveform samples will be looped (appropriate loop types for the gig format are defined by gig::loop_type_t).
229          uint32_t LoopStart;          uint32_t LoopStart;  ///< The start value specifies the offset (in sample points) in the waveform data of the first sample point to be played in the loop.
230          uint32_t LoopLength;          uint32_t LoopLength; ///< Length of the looping area (in sample points).
231      };      };
232    
233      // just symbol prototyping      // just symbol prototyping
# Line 355  namespace DLS { Line 355  namespace DLS {
355              uint32_t       SampleLoops;  ///< Reflects the number of sample loops.              uint32_t       SampleLoops;  ///< Reflects the number of sample loops.
356              sample_loop_t* pSampleLoops; ///< Points to the beginning of a sample loop array, or is NULL if there are no loops defined.              sample_loop_t* pSampleLoops; ///< Points to the beginning of a sample loop array, or is NULL if there are no loops defined.
357    
358                void AddSampleLoop(sample_loop_t* pLoopDef);
359                void DeleteSampleLoop(sample_loop_t* pLoopDef);
360              virtual void UpdateChunks();              virtual void UpdateChunks();
361          protected:          protected:
362              RIFF::List*    pParentList;              RIFF::List*    pParentList;

Legend:
Removed from v.1153  
changed lines
  Added in v.1154

  ViewVC Help
Powered by ViewVC