Subject: Re: [ecasound] [eci]: How to reliably detect when engine enters "finished" state?
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Sat Apr 17 2004 - 17:24:13 EEST
On Mon, 15 Dec 2003, Mario Lang wrote:
> Well, the subject nearly says it all, I am looking for a way
> to reliably detect when the engine goes into finished state without
> having to periodically poll engine-status.
Too possibilities:
1) 'run' ... will only return when status is 'finished'
2) polling 'engine-status'
... as (1) is only usable in certain cases, polling is often the only
alternative.
> I've looked around quite a bit already, and have not found any message
> type whcih would do this. Is there a way, or could we perhaps add
> some fascility for this?
There was some work on adding an event interface to ECI, but this was
never completed (mostly because the benefit/complexity ratio is pretty
low). But, but, suggestions are welcome... :)
--- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Sat Apr 17 2004 - 17:19:21 EEST