Re: Some additional requirements for the ScriptProcessorNode ..

On Wed, Jan 30, 2013 at 6:51 PM, Srikumar Karaikudi Subramanian <
srikumarks@gmail.com> wrote:

> 3. Add dynamic lifetime support similar to native nodes,
>    whereby unreferenced “signal processor” script nodes driven
>    by source nodes are automatically released once the source
>    node finishes, even if the source node is itself a script node.
>    To achieve this, the time at which the inputs cease must
>    be available as part of the event structure passed to the
>    onaudioprocess callback, so that the callback can begin
>    any tail phase that it needs to complete before it commits
>    suicide.
>

I don't think we should try anything like that until the semantics of the
current setup are properly worked out. Right now the spec is a mess in this
area and issues already raised have not been addressed.

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]

Received on Wednesday, 30 January 2013 22:40:46 UTC