ASPiK SDK
|
Back in the PluginCore's PluginCore::processMessage( ) function, we add the code to the handler for the PLUGINGUI_TIMERPING message that will pump out the queued audio data and call the repaint message on the custom view object. Note that we are sharing the same lock-free ring buffer that the PluginCore object owns and distributing (copying) data to both custom views:
This is all the code that you need to make the system work. The lock-free ring buffers and the custom view object handle the rest of the work.