[gmpi] Re: Topic 7: Audio packaging, Process-In-Place

  • From: "Vincent Burel" <vincent.burel@xxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Wed, 28 May 2003 12:15:41 +0200

just some points  :

first , i would like that we change the term "inplace/repace" by more
explicit and less ambigus term , personnally i always confused with that.

i propose : insert / auxbus

- insert processing : *out = effect(*in);
- auxbus processing : *out += effect(*in);

Concerning these two kind of processing, i would like to implement it in the
same processing function... it's so boring to build 2 optimized functions in
the VST SDK. I prefer a flag somewhere.

Concerning the audio packaging, i propose a beginning of stuct like that.

typedef struct tagGMPI_SIGNAL
{
    float ** lpInList;
    float **lpOutList;
    float **lpextraIn;     //list of extra input
    long nb_in;                //valid in
    long nb_out;            //valid out
    long nb_exin;            //valid exin
    long nbSample;        //nb sample to process
    float nbSample;        //nb sample to process
    float nbSamplei;        //1/nbSample.
    long processtype;   //0 : insert, 1:auxbus
    ...
} T_GMPI_SIGNAL;

with these constraints :
- Valid Input Pointer are all different together (and cannot be null)
- Valid Output Pointer are all different together (and cannot be null)
- Output may be the same than input.

- nbSample cannot be null, and is a multiple of a predefined granularity , i
propose 4 samples.

Vincent Burel




----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: