Hi,

I didn't find any documentation so that I figured I should ask. So in
bug 1103574 I changed the Keyboard app so that it would start using
Web Audio API instead of multiple <audio> to play that clicker sound,
but doing so I would hold an AudioContext instance (and two
AudioBuffer instances) whenever the clicker sound is enabled (even
when keyboard is not visible). Does that poses any side effect on B2G
or in general?

Also, there are posts online saying AudioNodes are only GC'd when they
are disconnect()'d, I doubt that is the case (since the node is not
reachable from the context) but it seems to me there are no obvious
way to confirm that. Should I always disconnect the node after calling
start(0)? What's the definite way to find out questions like this?

Thanks,

-- 
Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox
OS, Mozilla Corp. (Taiwan)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to