Re: [linux-audio-dev] questions to be resolved

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] questions to be resolved
From: Paul Davis (pbd_AT_Op.Net)
Date: Mon May 21 2001 - 05:27:46 EEST


>> 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.
>
>The soundbox (using properties negotiated with its client/user and link
>request).

its unclear to me from reading your proposed API what kind of thing a
soundbox is. it feels to me as if its more like what the rest of us
are calling a plugin.

>> 2) are buffers associated with input ports, output ports, both or neither?
>
>I don't understand what you mean. Please define "associate".

when something wants to write data so that it is "visible" at an
output port, it has to have a region of memory to write it to. is this
memory region owned by the output port itself, or with the input port(s) that
the output port is connected with? "owned" means that if the
connection between the ports is removed, the location of the memory
region remains unchanged. obviously, for at least one of the ports,
the location memory region must change when the connection is broken.

>> 4) is there a fixed or variable method that a plugin should use
>> when storing a value in a buffer?
>
>There may be some variants negotiated between client and soundbox.
>soundbox say what it can do, client say what it needs.

and when they don't agree, what then? it just doesn't work? or the
user shuts down and reboots into windows to run Cubase?

sorry for the sarcasm. its been a long day, and i'd like to get the
buffer issue worked out (in my head, if not actually in code). it hurts.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon May 21 2001 - 05:45:49 EEST