W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

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

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:52 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/140/24244450@github.com>
> [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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC