Add the playback state on VST
This commit is contained in:
parent
36f5a62f04
commit
95e730f5b1
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue