Re: [web-audio-api] Default value for bufferSize in createScriptProcessor() (#140)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17392#0) by Olivier Thereaux on W3C Bugzilla. Thu, 07 Jun 2012 15:49:16 GMT

Comment from Jussi in http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0106.html

«
We discussed with Chris (off-list) the recent change from numberOfOutputs
to numberOfChannels in the createJavaScriptNode(), because I noticed my
sink.js was broken in the latest Chrome Canary.

I suggested that the first parameter (bufferSize) be optional as well,
reverting to default when passed undefined. In an advanced implementation,
this default could be adjusted to a value that the implementation deems a
good tradeoff between safety (avoiding underruns) and latency on that
system and setup. I believe Chris thinks this is a good idea, so he
suggested I bring this to discussion in the group so we can change the spec
if we agree on it.
»

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/140#issuecomment-24244450

Received on Wednesday, 11 September 2013 14:30:37 UTC