Re: Starting

On Tue, Apr 23, 2013 at 3:53 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> I think that the (sort of hackish) way to do this would be to disconnect()
> the script processor node from its output, and re-connect() it when you
> want to resume the playback.  We should of course spec that sending
> audioprocess events must only happen when the script processor is connected
> to an output, in order to make this work according to the spec, but FWIW
> you should get this to work in Gecko by doing what I described.
>

I think currently in our implementation disconnecting would not stop the
events firing. I also think that disconnecting *should not* stop the events
firing; that would be a magical side effect that we should avoid. If an
author doesn't want to receive events, they can just remove the event
listener.

Rob
-- 
q“qIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q qwqhqaqtq
qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq
qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq qiqfq qyqoquq
qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq qtqoq qyqoquq,q
qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq
qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q"

Received on Tuesday, 23 April 2013 04:06:58 UTC