Re: [LAD] LV2-C++-Tools

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Aurélien <blablack@...>
Cc: <devel@...>, <lars.luthman@...>, <linux-audio-dev@...>
Date: Saturday, March 24, 2012 - 9:13 pm

On Sat, 2012-03-24 at 20:58 +0000, Aurélien Leblond wrote:
[...]

:) Just makin' sure.

It's easy to screw up if you're not working within a framework that
avoids it. I was just trying to stress that there's a more fundamental
problem here than getting the cursor position being a bit too slow.

> Create a fairly simply GUI that queries the mouse position, and get

That'll do. As long as all the communication happens via ports these
problems are impossible. Some kind of event might be needed for
anything more fancy, but for a couple of numbers KISS with control
ports.

(Historical note, it's only to accommodate porting existing plugins from
certain broken proprietary APIs that the facility to directly access the
plugin exists at all. I should probably put some loud disclaimers in
the relevant extensions to explain that actually using them is a
terrible idea intended as a last resort)

> If I'm not wrong, that should dissociate GUI/plugin. In fact it

Yep

> (by the way you are completely right, I'm learning audio dev as I go

Took me a while to figure out (the hard way) that the usual "la de da
direct access to everything" approach is an awful idea for audio.

I've since become more or less completely convinced that anything but an
event queue to and from your engine is wrong. Show me a program not
built that way, and I'll show you a program that's probably not
real-time safe :)

-dr

_______________________________________________
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:
Re: [LAD] LV2-C++-Tools, Aurélien Leblond, (Sat Mar 24, 6:50 pm)
Re: [LAD] LV2-C++-Tools, Fons Adriaensen, (Sat Mar 24, 7:52 pm)
Re: [LAD] LV2-C++-Tools, J. Liles, (Sat Mar 24, 8:15 pm)
Re: [LAD] LV2-C++-Tools, Fons Adriaensen, (Sat Mar 24, 8:38 pm)
Re: [LAD] LV2-C++-Tools, David Robillard, (Sat Mar 24, 7:31 pm)
Re: [LAD] LV2-C++-Tools, Aurélien Leblond, (Sat Mar 24, 8:58 pm)
Re: [LAD] LV2-C++-Tools, Paul Davis, (Sat Mar 24, 10:19 pm)
Re: [LAD] LV2-C++-Tools, David Robillard, (Sat Mar 24, 10:35 pm)
Re: [LAD] LV2-C++-Tools, Harry van Haaren, (Sun Mar 25, 3:43 pm)
Re: [LAD] LV2-C++-Tools, David Robillard, (Sat Mar 24, 9:13 pm)