InstrumentTrack: always process silence at least one time

As of commit 1266278229 silent buffers
from InstrumentPlayHandle-driven instruments are ignored. This is a good
thing but can beak PeakController instances attached to e.g. ZynAddSubFX.

Fixes playback of unfa-Spoken.mmpz.
This commit is contained in:
Tobias Doerffel
2014-02-06 23:40:50 +01:00
parent 1266278229
commit 8c06cb60f4
2 changed files with 14 additions and 2 deletions

View File

@@ -229,6 +229,8 @@ private:
int m_runningMidiNotes[NumKeys];
bool m_sustainPedalPressed;
bool m_silentBuffersProcessed;
IntModel m_baseNoteModel;
NotePlayHandleList m_processHandles;