52 |
* Returns all EngineChannel instances. |
* Returns all EngineChannel instances. |
53 |
*/ |
*/ |
54 |
static const std::set<EngineChannel*>& EngineChannelInstances(); |
static const std::set<EngineChannel*>& EngineChannelInstances(); |
55 |
|
|
56 |
|
/** |
57 |
|
* Specifies whether the deallocation of the specified EngineChannel |
58 |
|
* object should be postponed. When the object deletion is diabled |
59 |
|
* it is not freed from memory (when destroyed) until it is enabled. |
60 |
|
* Used to prevent orphaned pointers. |
61 |
|
*/ |
62 |
|
static void SetDeleteEnabled(const EngineChannel* pEngineChannel, bool enable); |
63 |
|
|
64 |
|
private: |
65 |
|
static Mutex LockedChannelsMutex; |
66 |
}; |
}; |
67 |
|
|
68 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |