Vamp plugins as realtime plugins

Hello there.

I work on a project written in cpp with Juce framework. Any vamp plugin dll which located in the same directory with exe can be used, such like a host, but I’m struggling with making it work realtime. The first thing I’ve tried was creating a ring buffer which has 10 times actual buffer size and processing the data in ring buffer after it is filled full of samples. I think I need some example like realtime vamp plugin host. I want to make process Vamp plugins and I’ll be very pleasured for any example you can suggest and help.