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-2008 Christian Schoenebeck * |
* Copyright (C) 2005-2008 Christian Schoenebeck * |
7 |
* Copyright (C) 2009-2010 Christian Schoenebeck and Grigor Iliev * |
* Copyright (C) 2009-2011 Christian Schoenebeck and Grigor Iliev * |
8 |
|
* Copyright (C) 2012-2016 Christian Schoenebeck * |
9 |
* * |
* * |
10 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
11 |
* 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 * |
143 |
KillImmediately(); |
KillImmediately(); |
144 |
return; |
return; |
145 |
} |
} |
146 |
DiskStreamRef.pStream->IncrementReadPos(SmplInfo.ChannelCount * (int(finalSynthesisParameters.dPos) - MaxRAMPos)); |
DiskStreamRef.pStream->IncrementReadPos(uint( |
147 |
|
SmplInfo.ChannelCount * (int(finalSynthesisParameters.dPos) - MaxRAMPos) |
148 |
|
)); |
149 |
finalSynthesisParameters.dPos -= int(finalSynthesisParameters.dPos); |
finalSynthesisParameters.dPos -= int(finalSynthesisParameters.dPos); |
150 |
RealSampleWordsLeftToRead = -1; // -1 means no silence has been added yet |
RealSampleWordsLeftToRead = -1; // -1 means no silence has been added yet |
151 |
} |
} |