/[svn]/linuxsampler/trunk/src/engines/common/Sample.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/Sample.h

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

revision 2215 by iliev, Fri Oct 23 17:53:17 2009 UTC revision 2216 by iliev, Mon Jul 25 17:21:16 2011 UTC
# Line 55  namespace LinuxSampler { Line 55  namespace LinuxSampler {
55                      unsigned long loop_cycles_left;  ///< How many times the loop has still to be passed, this value will be decremented with each loop cycle.                      unsigned long loop_cycles_left;  ///< How many times the loop has still to be passed, this value will be decremented with each loop cycle.
56              };              };
57    
58              Sample() { }              uint Offset; // The offset used to play the sample (in sample units)
59    
60                uint RAMCacheOffset; // The offset of the RAM cache from the sample start (in sample units)
61    
62                 /*
63                  * Specifies the maximum offset (in frames) that can be set without
64                  * the need to offset the RAM cache.
65                  */
66                uint MaxOffset;
67    
68                Sample(): MaxOffset(2000), Offset(0), RAMCacheOffset(0) { }
69              virtual ~Sample() { }              virtual ~Sample() { }
70    
71              virtual String  GetName() = 0;              virtual String  GetName() = 0;

Legend:
Removed from v.2215  
changed lines
  Added in v.2216

  ViewVC Help
Powered by ViewVC