Subject: Re: [linux-audio-dev] plugin questions
From: David Olofson (audiality_AT_swipnet.se)
Date: su loka 10 1999 - 15:23:05 EDT
On Sun, 10 Oct 1999, Jaroslav Kysela wrote:
> > What about all the callbacks that VST plug-ins do to the host?
>
> Please, forget about any callback implementation inside the communication
> API. Imagine that one communication node can be inside the kernel space
> and other inside the user space. We can't use a callback with this
> combination.
*Exactly.* That's why I want to use the same API, the event system,
for "everything", as that eliminates the need for messy RPC style
cludges in the API library.
Ok, a plug-in will always run in the same thread as it's host, but is
that an excuse to use callbacks or info structures in that special
case? I don't think so. Uniform interfaces mean more code reuse. What
seems to simplify a little in a particular case, could actually
complicate the full system.
//David
·A·U·D·I·A·L·I·T·Y· P r o f e s s i o n a l L i n u x A u d i o
- - ------------------------------------------------------------- - -
·Rock Solid David Olofson:
·Low Latency www.angelfire.com/or/audiality ·Audio Hacker
·Plug-Ins audiality_AT_swipnet.se ·Linux Advocate
·Open Source ·Singer/Composer
This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:27:13 EST