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; |