84 |
virtual String EngineName(); |
virtual String EngineName(); |
85 |
virtual InstrumentManager* GetInstrumentManager(); |
virtual InstrumentManager* GetInstrumentManager(); |
86 |
|
|
87 |
|
void SetVoiceCount(uint Count); |
88 |
|
|
89 |
// Simple array wrapper just to make sure memory is freed |
// Simple array wrapper just to make sure memory is freed |
90 |
// when liblinuxsampler is unloaded |
// when liblinuxsampler is unloaded |
91 |
class FloatTable { |
class FloatTable { |
115 |
RTList<Event>* pGlobalEvents; ///< All engine global events for the current audio fragment (usually only SysEx messages). |
RTList<Event>* pGlobalEvents; ///< All engine global events for the current audio fragment (usually only SysEx messages). |
116 |
Pool<Event>* pEventPool; ///< Contains all Event objects that can be used. |
Pool<Event>* pEventPool; ///< Contains all Event objects that can be used. |
117 |
RingBuffer<uint8_t,false>* pSysexBuffer; ///< Input buffer for MIDI system exclusive messages. |
RingBuffer<uint8_t,false>* pSysexBuffer; ///< Input buffer for MIDI system exclusive messages. |
|
int ActiveVoiceCount; ///< number of currently active voices (this value will be returned for public calls) |
|
118 |
int ActiveVoiceCountTemp; ///< number of currently active voices (for internal usage, will be used for incrementation) |
int ActiveVoiceCountTemp; ///< number of currently active voices (for internal usage, will be used for incrementation) |
119 |
int ActiveVoiceCountMax; ///< the maximum voice usage since application start |
int ActiveVoiceCountMax; ///< the maximum voice usage since application start |
120 |
int VoiceSpawnsLeft; ///< We only allow CONFIG_MAX_VOICES voices to be spawned per audio fragment, we use this variable to ensure this limit. |
int VoiceSpawnsLeft; ///< We only allow CONFIG_MAX_VOICES voices to be spawned per audio fragment, we use this variable to ensure this limit. |
186 |
static float* InitCurve(const float* segments, int size = 128); |
static float* InitCurve(const float* segments, int size = 128); |
187 |
|
|
188 |
unsigned long FrameTime; ///< Time in frames of the start of the current audio fragment |
unsigned long FrameTime; ///< Time in frames of the start of the current audio fragment |
189 |
|
|
190 |
|
atomic_t ActiveVoiceCount; ///< number of currently active voices |
191 |
|
|
192 |
}; |
}; |
193 |
|
|
194 |
}} // namespace LinuxSampler::gig |
}} // namespace LinuxSampler::gig |