How to get info from DAW


Hi. I am writing plugin, and in my process block I need to get the information, if the DAW track is playing or not. How can I do this?


You can use the AudioPlayHead struct here: AudioPlayHead::CurrentPositionInfo



Yeah, I do this, but it doesn`t work
here is my code


if (info.isPlaying)

and when the hosts track plays, the ifs body doesn`t execute

what`s wrong?


The host may not be providing that information. Which host is it?