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-2008 Christian Schoenebeck * |
* Copyright (C) 2005-2020 Christian Schoenebeck * |
7 |
* Copyright (C) 2009-2012 Christian Schoenebeck and Grigor Iliev * |
* Copyright (C) 2009-2012 Grigor Iliev * |
8 |
* Copyright (C) 2013-2016 Christian Schoenebeck and Andreas Persson * |
* Copyright (C) 2013-2016 Andreas Persson * |
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 * |
69 |
pEngine->engineChannels.add(pChannel); |
pEngine->engineChannels.add(pChannel); |
70 |
// remember index in the ArrayList |
// remember index in the ArrayList |
71 |
pChannel->iEngineIndexSelf = pEngine->engineChannels.size() - 1; |
pChannel->iEngineIndexSelf = pEngine->engineChannels.size() - 1; |
72 |
dmsg(4,("This Engine has now %d EngineChannels.\n",pEngine->engineChannels.size())); |
dmsg(4,("This Engine has now %" PRId64 " EngineChannels.\n", (int64_t)pEngine->engineChannels.size())); |
73 |
return pEngine; |
return pEngine; |
74 |
} |
} |
75 |
|
|
127 |
delete pEngine; |
delete pEngine; |
128 |
dmsg(4,("Destroying Engine.\n")); |
dmsg(4,("Destroying Engine.\n")); |
129 |
} |
} |
130 |
else dmsg(4,("This Engine has now %d EngineChannels.\n",pEngine->engineChannels.size())); |
else dmsg(4,("This Engine has now %" PRId64 " EngineChannels.\n", (int64_t)pEngine->engineChannels.size())); |
131 |
} |
} |
132 |
|
|
133 |
void AbstractEngine::Enable() { |
void AbstractEngine::Enable() { |