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 - 2012 Christian Schoenebeck * |
* Copyright (C) 2005 - 2016 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 * |
116 |
|
|
117 |
void UncacheInitialSamples(::gig::Sample* pSample); |
void UncacheInitialSamples(::gig::Sample* pSample); |
118 |
std::vector< ::gig::Instrument*> GetInstrumentsCurrentlyUsedOf(::gig::File* pFile, bool bLock); |
std::vector< ::gig::Instrument*> GetInstrumentsCurrentlyUsedOf(::gig::File* pFile, bool bLock); |
119 |
|
std::set<EngineChannel*> GetEngineChannelsUsingScriptSourceCode(const String& code, bool bLock); |
120 |
std::set<EngineChannel*> GetEngineChannelsUsing(::gig::Instrument* pInstrument, bool bLock); |
std::set<EngineChannel*> GetEngineChannelsUsing(::gig::Instrument* pInstrument, bool bLock); |
121 |
std::set<Engine*> GetEnginesUsing(::gig::Instrument* pInstrument, bool bLock); |
std::set<Engine*> GetEnginesUsing(::gig::Instrument* pInstrument, bool bLock); |
122 |
std::set<Engine*> GetEnginesUsing(::gig::File* pFile, bool bLock); |
std::set<Engine*> GetEnginesUsing(::gig::File* pFile, bool bLock); |
129 |
ArrayList<InstrumentConsumer*> InstrumentEditorProxies; ///< here we store the objects that react on instrument specific notifications on behalf of the respective instrument editor |
ArrayList<InstrumentConsumer*> InstrumentEditorProxies; ///< here we store the objects that react on instrument specific notifications on behalf of the respective instrument editor |
130 |
std::set<Engine*> suspendedEngines; ///< all engines currently completely suspended |
std::set<Engine*> suspendedEngines; ///< all engines currently completely suspended |
131 |
Mutex suspendedEnginesMutex; ///< protects 'suspendedEngines' set |
Mutex suspendedEnginesMutex; ///< protects 'suspendedEngines' set |
132 |
|
std::map< ::gig::Script*,String> pendingScriptUpdates; ///< Used to prepare updates of instrument scripts (value of the map is the original source code of the script before it is modified). |
133 |
|
Mutex pendingScriptUpdatesMutex; ///< Protectes 'pendingScriptUpdates'. |
134 |
}; |
}; |
135 |
|
|
136 |
}} // namespace LinuxSampler::gig |
}} // namespace LinuxSampler::gig |