Re: [LAD] LV2 Oscilloscope

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Aurélien Leblond <blablack@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Thursday, October 10, 2013 - 6:12 pm

--089e0158b8660ca45804e866f086
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 10, 2013 at 6:29 PM, Aur=E9lien Leblond wro=
te:

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

--089e0158b8660ca45804e866f086
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On T=
hu, Oct 10, 2013 at 6:29 PM, Aur=E9lien Leblond <blablack@gmail.com&g=
t; wrote:

- what is the cleanest way to access input port data from the GUI?In short: the DSP part should write an Atom eve=
nt to notify the GUI.The long: Ardour3 deletes UI instan=
ces 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 DS=
P part.Cleanest way:-On UI init(), write =
a "requestSamplerate" Atom message to the DSP-On D=
SP recieve "requestSamplerate", write Atom message with samplerat=
e int to UI.
That covers all the use cases, and the UI will au=
to update upon re-init in Ardour :)HTH, -Harry=

--089e0158b8660ca45804e866f086--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] LV2 Oscilloscope, Aurélien Leblond, (Thu Oct 10, 5:29 pm)
Re: [LAD] LV2 Oscilloscope, Lars Luthman, (Thu Oct 10, 6:38 pm)
Re: [LAD] LV2 Oscilloscope, Robin Gareus, (Thu Oct 10, 7:28 pm)
Re: [LAD] LV2 Oscilloscope, Lars Luthman, (Thu Oct 10, 6:42 pm)
Re: [LAD] LV2 Oscilloscope, Filipe Coelho, (Thu Oct 10, 7:05 pm)
Re: [LAD] LV2 Oscilloscope, Harry van Haaren, (Thu Oct 10, 6:12 pm)
Re: [LAD] LV2 Oscilloscope, Paul Davis, (Thu Oct 10, 7:07 pm)
Re: [LAD] LV2 Oscilloscope, Harry van Haaren, (Fri Oct 11, 12:28 am)
[LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Robin Gareus, (Fri Oct 11, 2:08 pm)
Re: [LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Filipe Coelho, (Fri Oct 11, 2:45 pm)
Re: [LAD] lv2 external UI -- was Re: LV2 Oscilloscope, Robin Gareus, (Fri Oct 11, 2:42 pm)