You can transfer typed arrays. But if they come from the emscripten heap,
you must first copy them out of it, so you cannot avoid any copying in that
case.

No idea about the audio issues, please file a bug on Firefox,
https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Video%2FAudio

- Alon



On Thu, Dec 19, 2013 at 6:49 AM, <[email protected]> wrote:

> 1. Since I think web workers can not play audio (right?) I was wondering
> if I could use Transferable Objects with emscripten somehow, so I can
> directly send arraybuffers from the worker to the main program?
>
> 2. When playing generated audio with Firefox (nightly) I get stuttering
> (regardless of buffer size), any idea why? (In normal Firefox it works but
> then it's not using web audio and I get huge delays when switching songs
> for some reason...)
>
> (You can see for yourself at http://swimsuitboys.com/hvsc/)
>
> --Sasq
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to