13
0

OSC: initialize parameter correctly

This commit is contained in:
Len Ovens 2017-12-07 08:56:56 -08:00
parent 937efdb677
commit d6eea08021

View File

@ -67,6 +67,7 @@ OSCSelectObserver::OSCSelectObserver (OSC& o, ArdourSurface::OSC::OSCSurface* su
send_size = send_page_size; send_size = send_page_size;
send_page = sur->send_page; send_page = sur->send_page;
plug_page_size = sur->plug_page_size; plug_page_size = sur->plug_page_size;
plug_size = plug_page_size;
plug_page = sur->plug_page; plug_page = sur->plug_page;
if (sur->plugins.size () > 0) { if (sur->plugins.size () > 0) {
plug_id = sur->plugins[sur->plugin_id - 1]; plug_id = sur->plugins[sur->plugin_id - 1];