[LAD] LV2 Oscilloscope

Harry van Haaren harryhaaren at gmail.com
Thu Oct 10 18:11:58 UTC 2013


On Thu, Oct 10, 2013 at 6:29 PM, Aurélien Leblond <blablack at gmail.com>wrote:

> - what is the cleanest way to access input port data from the GUI?
>

In short: the DSP part should write an Atom event to notify the GUI.

The long: Ardour3 deletes UI instances when the window is closed: that
means the state of the UI is lost.
When re-opening the UI, it must re-request the state from the DSP part.

Cleanest way:
-On UI init(), write a "requestSamplerate" Atom message to the DSP
-On DSP recieve "requestSamplerate", write Atom message with samplerate int
to UI.

That covers all the use cases, and the UI will auto update upon re-init in
Ardour :)

HTH, -Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20131010/d174f069/attachment.html>


More information about the Linux-audio-dev mailing list