Merge pull request #976 from diizy/master

SF2: Fix crash with stacking/arp
This commit is contained in:
Vesa V
2014-07-11 21:36:19 +03:00

View File

@@ -529,6 +529,11 @@ void sf2Instrument::updateSampleRate()
void sf2Instrument::playNote( NotePlayHandle * _n, sampleFrame * )
{
if( _n->isMasterNote() || ( _n->hasParent() && _n->isReleased() ) )
{
return;
}
const f_cnt_t tfp = _n->totalFramesPlayed();
if( tfp == 0 )