On Tue, Aug 12, 2014 at 5:32 PM, Robert O'Callahan <robert@ocallahan.org>
wrote:
> Running JS sync in the audio thread is also suboptimal: it means that JS
> misbehavior can cripple audio processing. I find it easy to imagine cases
> where I'd rather have all my JS analysis code running on the main thread to
> minimize the possibly of breaking my audio output, even though there's a
> small latency penalty.
>
True enough. But in that case, you can simply transfer the data over to
another thread to do the processing there, yes?