- From: Olivier Thereaux <notifications@github.com>
- Date: Wed, 11 Sep 2013 07:29:45 -0700
- To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Received on Wednesday, 11 September 2013 14:34:57 UTC
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17415#5) by Philip Jägenstedt on W3C Bugzilla. Tue, 12 Jun 2012 14:59:53 GMT (In reply to [comment #5](#issuecomment-24244309)) > expensive tricks like sending the audio data to the worker with > postMessage and maintaining the callback system themselves That's not how a worker-based AudioNode would work, it would be a callback in the worker that can read directly from the input and write directly to the output. There are things on the main thread that are not interruptible (layout and event handlers being the most obvious) so it's only luck if one is able to run the callback often enough. I can't speak for any other implementors, but I'm fairly certain it would fail horribly in Opera, as other pages running in the same process can't be expected to write code to avoid long-running scripts or expensive re-layouts. --- Reply to this email directly or view it on GitHub: https://github.com/WebAudio/web-audio-api/issues/113#issuecomment-24244315
Received on Wednesday, 11 September 2013 14:34:57 UTC