Re: New proposal for fixing race conditions

On Jul 20, 2013, at 8:40 AM, Russell McClellan <russell@motu.com> wrote:

> I'm not sure I fully understand this new proposal by Jer, but it seems like it requires a new allocation of an audio buffer every time a ScriptProcessorNode processes an event.  If I'm right about this, my intuition is that this will degrade the performance characteristics of the ScriptProcessorNode.  I could be wrong about either of these propositions - please correct me if I am.  

For the immutable AudioBuffer proposal, this is true.

For the (updated, non-immutable) proposal, it would require a memcpy, but not an allocation.  You would write directly to outputBuffer.

-Jer

Received on Monday, 22 July 2013 15:30:41 UTC