Re: [linux-audio-dev] LADSPA Finalisation Deadline

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

Subject: Re: [linux-audio-dev] LADSPA Finalisation Deadline
From: Juhana Sadeharju (kouhia_AT_nic.funet.fi)
Date: Mon Mar 27 2000 - 11:17:23 EEST


>From: "Karl W. MacMillan" <karlmac_AT_peabody.jhu.edu>
>
>How does it tell it the amount? In the current API the host tells the
>plugin how many samples to process during the run command - in this case
>how and when does the plugin tell the host the size of the buffers.

The plug-in tells the data size to network builder which allocates
the buffers for a particular instantiation of that plug-in.
Engine actually doesn't have to know the data size but it depends
on the implementation.

And, "samples to process" is not necessarily related to any buffer sizes.

 -*-

If you want fix the data type to float, it is known that the data size
is 4. Otherwise, plug-in has to have routines for getting the data size.
Very simple additions are needed to support different stream types.

Let the engine author decide how it delivers this info from the plug-in
to the engine. Don't fix the engine too.

Juhana


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

This archive was generated by hypermail 2b28 : Mon Mar 27 2000 - 11:43:48 EEST