292 |
bStatusChanged = true; // status of engine has changed, so set notify flag |
bStatusChanged = true; // status of engine has changed, so set notify flag |
293 |
} |
} |
294 |
|
|
295 |
|
/** |
296 |
|
* Called on sustain pedal up events to check and if required, |
297 |
|
* launch release trigger voices on the respective active key. |
298 |
|
* |
299 |
|
* @param pEngineChannel - engine channel on which this event occurred on |
300 |
|
* @param itEvent - release trigger event (contains note number) |
301 |
|
*/ |
302 |
|
virtual void ProcessReleaseTrigger(RTList<Event>::Iterator& itEvent) OVERRIDE { |
303 |
|
if (!pEngine) return; |
304 |
|
pEngine->ProcessReleaseTrigger(this, itEvent); |
305 |
|
} |
306 |
|
|
307 |
void RenderActiveVoices(uint Samples) { |
void RenderActiveVoices(uint Samples) { |
308 |
RenderVoicesHandler handler(this, Samples); |
RenderVoicesHandler handler(this, Samples); |
309 |
this->ProcessActiveVoices(&handler); |
this->ProcessActiveVoices(&handler); |