Add the playback state on VST

This commit is contained in:
Jean Pierre Cimalando 2020-08-11 16:20:55 +02:00
parent 36f5a62f04
commit 95e730f5b1

View file

@ -225,6 +225,8 @@ void SfizzVstProcessor::updateTimeInfo(const Vst::ProcessContext& context)
beats -= int(bars) * _timeSigNumerator;
synth.timePosition(0, int(bars), float(beats));
}
synth.playbackState(0, (context.state & context.kPlaying) != 0);
}
void SfizzVstProcessor::processParameterChanges(Vst::IParameterChanges& pc)