How to determine the host latency


is there a way to determine the hosts latency? I’d like to find out the delay between the moment a sample/block enters the processBlock() untill it is actually played. I’m building a gui component for analyzing purposes, that has to react very fast depending on the sound that is audible at a time.
If I use larger buffer sizes (or even worse, not an asio device) the gui of my plugin in samplitude or nuendo changes too long before the corresponding sample is played.
Any ideas how to compensate this effect?



No, I don’t think there’s any way to do that. It’s not something that the hosts will publish to their plugins.