3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 Christian Schoenebeck * |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
88 |
this->SampleOffset = 0; |
this->SampleOffset = 0; |
89 |
this->PlaybackState.position = 0; |
this->PlaybackState.position = 0; |
90 |
this->PlaybackState.reverse = false; |
this->PlaybackState.reverse = false; |
91 |
this->pRingBuffer = new RingBuffer<uint8_t>(BufferSize * 3, BufferWrapElements * 3); |
this->pRingBuffer = new RingBuffer<uint8_t,false>(BufferSize * 3, BufferWrapElements * 3); |
92 |
this->pDecompressionBuffer = pDecompressionBuffer; |
this->pDecompressionBuffer = pDecompressionBuffer; |
93 |
UnusedStreams++; |
UnusedStreams++; |
94 |
TotalStreams++; |
TotalStreams++; |