Subject: [linux-audio-dev] questions to be resolved
From: Paul Davis (pbd_AT_Op.Net)
Date: Sun May 20 2001 - 20:54:22 EEST
I think that there are a couple of salient questions that need
answering before we can even talk about an API. They are not unlike
the questons raised for LADSPA, except that the overall context is
a little different.
1) what kind of object allocates and frees buffers used to store data
for a port? is it something more like an engine object, or
something more like a plugin? in LADSPA and VST, all buffers are
owned by the host, and the plugins merely use them via their
ports.
2) are buffers associated with input ports, output ports, both or neither?
3) are multiple connections between ports allowed?
4) is there a fixed or variable method that a plugin should use
when storing a value in a buffer?
the answers to these questions have profound and deep implications for
the overall design and operation of a system.
--p
ps. my answers:
1) the engine/host owns (allocates, releases, assigns) all buffers.
2) buffers are associated with any port that allows multiple
connections. most output ports would be multi-out, so
typically, buffers would be associated with output
ports. but multi-input ports would have their
own input buffers too. when connecting up two
such ports, it doesn't matter which one is chosen,
as long as its done consistently.
3) yes.
4) i'm not sure.
This archive was generated by hypermail 2b28 : Sun May 20 2001 - 21:20:46 EEST