vst 2.4 how get info from DAW - bpm

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Hello, i use
VstTimeInfo vst_info
vst_info.tempo
alwayse return 0
what is the problem?

Post

You need to set the flags in

Code: Select all

AudioEffectX::getTimeInfo(VstInt32 filter)

,ie kVstTempoValid in your case, as per docs.

You should also return 1 (yes) for canDoReceiveVstTimeInfo in canDo()

Post Reply

Return to “DSP and Plugin Development”