keep processing LV2 Ringbuffer once it is allocated
authorRobin Gareus <robin@gareus.org>
Tue, 5 Nov 2013 01:06:20 +0000 (02:06 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 5 Nov 2013 01:06:20 +0000 (02:06 +0100)
commitc01e37171ef5ebf6da0ec2cd9ef39873634979ee
tree599069d98e5dd5b2879658a563d1dbfe5a70eafa
parente24089ec1f2464ebca7cdd1f32f1b8818eb0a856
keep processing LV2 Ringbuffer once it is allocated

Discard messages in LV2PluginUI::write_to_ui() if the
ringbuffer exists but the UI is not active.

This fixes "[ERROR]: Error writing from plugin to UI" messages
if the UI was once active but has been closed since.

This is a hotfix solution, eventually the LV2 backend should be updated
and a function LV2Plugin::disable_ui_emmission() implemented.
gtk2_ardour/lv2_plugin_ui.cc