One thing that bothers me about pausing nodes automatically when their last
output node goes away is that it reduces the modularity of audio subgraphs.
E.g. if you have an app that relies on auto-pausing a subgraph when it has
no outputs, and someone (maybe someone reusing your code) adds a
ScriptProcessorNode or MediaStreamAudioDestinationNode+MediaRecorder to tap
the output of the subgraph, suddenly things break. An explicit pause/resume
API would not have this problem. (I assume the output of paused nodes would
be treated as silence if they're still connected to outputs.)
>
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 *
*