Re: [linux-audio-dev] XAP spec - early scribbles

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

Subject: Re: [linux-audio-dev] XAP spec - early scribbles
From: Dave Griffiths (dave_AT_pawfal.org)
Date: Sat Mar 08 2003 - 14:44:58 EET


On Thu, 06 Mar 2003 12:18:37 +0000
Simon Jenkins <sjenkins_AT_blueyonder.co.uk> wrote:
> >Output terminal modules (OSS,Jack,DiskWriter)
> >
> Hadn't run ssm (I have now) so didn't know if outputs on a terminal
> were feedback from the graph outputs or if they were inputs, ie it was
> an I/O module.
>
> > are needed to be flagged
> >to resolve perfectly circular patches (eg Jack -> Echo -> Jack). The
> >Graphsort falls back on this if it can't find a root by itself.
> >
> ... and didn't understand this as being "circular"... I see it as a
> straight line
> that comes in, through and out of the app, so I thought "terminals" must
> be somewhere on a free-floating circle of modules. I see now what you
> mean by circular.

sorry, I didn't explain this very well.

> OK. TestSort() manages to avoid recursion by using an intermediate list.
>
> Note: I've tried to give this a half decent test, and it does seem to
> work every
> time, but your original code has executed successfully about a zillion times
> more than this code has...

well it looks pretty good and seems to work fine, so I've committed it to cvs.
I've left in the old code so we can fall back if neccesary, but I'll remove it
in the future.
many thanks!

dave


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

This archive was generated by hypermail 2b28 : Sat Mar 08 2003 - 14:47:38 EET