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 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 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 * |
59 |
CreationQueue->init(); |
CreationQueue->init(); |
60 |
DeletionQueue->init(); |
DeletionQueue->init(); |
61 |
DeletionNotificationQueue.init(); |
DeletionNotificationQueue.init(); |
62 |
|
|
63 |
|
// make sure that all DimensionRegions are released |
64 |
|
while (DeleteDimregQueue->read_space() > 0) { |
65 |
|
::gig::DimensionRegion* dimreg; |
66 |
|
DeleteDimregQueue->pop(&dimreg); |
67 |
|
pInstruments->HandBackDimReg(dimreg); |
68 |
|
} |
69 |
DeleteDimregQueue->init(); |
DeleteDimregQueue->init(); |
70 |
ActiveStreamCount = 0; |
ActiveStreamCount = 0; |
71 |
ActiveStreamCountMax = 0; |
ActiveStreamCountMax = 0; |