Re: [LAD] LV2 Oscilloscope

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Audio Developers <linux-audio-dev@...>
Date: Thursday, October 10, 2013 - 7:28 pm

On 10/10/2013 08:37 PM, Lars Luthman wrote:

These days it not as rare as it used to be.

A scope is just 1D - say 1024 pixels width -> 1K values that need to be
transmitted from the back-end to the UI. No need to use shared memory,
really.

The only reason for using shmem would be transmitting _all_ the raw
audio-data for upsampling in the UI-thread[1]. But even so, 1.5 Mbit/sec
is nothing these days. Besides, up/down-sampling requires a ringbuffer
anyway, and shmem won't buy you anything.

Message-passing (LV2 Atom messages) can go directly into the UI's
ringbuffer (no extra copy) and will allow the UI to run remotely.

2c,
robin

[1] Upsampling can be CPU heavy, but since it's for display only, it
should not cause DSP load -> delegate to UI-thread.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

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)