<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 2:11 PM, Harry van Haaren <span dir="ltr"><<a href="mailto:harryhaaren@gmail.com" target="_blank">harryhaaren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Thu, Oct 10, 2013 at 6:29 PM, Aurélien Leblond <span dir="ltr"><<a href="mailto:blablack@gmail.com" target="_blank">blablack@gmail.com</a>></span> wrote: <br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- what is the cleanest way to access input port data from the GUI?<br></blockquote><div><br></div></div><div>In short: the DSP part should write an Atom event to notify the GUI.<br><br></div><div>The long: Ardour3 deletes UI instances when the window is closed: that means the state of the UI is lost.<br>

</div><div>When re-opening the UI, it must re-request the state from the DSP part.<br></div></div></div></div></blockquote><div><br></div><div>The longer. <br></div><br></div><div class="gmail_quote">There are two identical specifications for external-UI. They each have a different URI.<br>
<br></div><div class="gmail_quote">If a plugin uses one of them (the original) then Ardour will NOT delete the UI instance when it is closed.<br></div><div class="gmail_quote">If a plugin uses the other (the version "forked"/"copied" by falktx) then Ardour WILL delete the UI instance when it is closed.<br>
<br></div><div class="gmail_quote">Both specifications state that the UI is defunct and no longer usable after being closed:<br><pre>   * After this callback is called, UI is defunct. Host must call
   * LV2UI_Descriptor::cleanup(). If host wants to make the UI visible
   * again UI must be reinstantiated.</pre><br></div><div class="gmail_quote">Just wanted to be clear about this F***ING ABSURD situation.<br><br></div><div class="gmail_quote">--p<br><br></div><div class="gmail_quote"><br>
</div></div></div>