Re: [LAD] LV2 Oscilloscope

From: Harry van Haaren <harryhaaren@email-addr-hidden>
Date: Thu Oct 10 2013 - 21:11:58 EEST

On Thu, Oct 10, 2013 at 6:29 PM, Aurélien Leblond <blablack@email-addr-hiddenwrote:

> - 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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Oct 11 08:15:03 2013

This archive was generated by hypermail 2.1.8 : Fri Oct 11 2013 - 08:15:03 EEST