Is HISE able to detect buffer overruns and audio dropouts?
Could it be possible to implement a callback for a registered dropout / buffer overrun? Something like Engine.registerBufferOverrunCallback()?
Could it be part of the error handler?
I would make this rather a polling function like
getNumBufferUnderruns()that will get reset after every query so you can ask that from a timer callback, but tucking this onto the ErrorHandler is a good idea.