Re: Behavior of source nodes on connect/disconnect

On Fri, Sep 13, 2013 at 1:50 PM, Jer Noble <jer.noble@apple.com> wrote:

> Of course, HTMLMediaElements must pause when they are removed from the
> DOM.  So in the general case, disconnecting a playing media element and
> throwing away all references to it will allow it to be GCd.
>

But you can call play() on a media element after removing it from the DOM.

If we were to follow the media element model in Web Audio, we would
introduce per-node pause() and resume() APIs and specify that when you
disconnect the last output of a node, there is an implicit pause() call.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Friday, 13 September 2013 23:16:45 UTC