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

Re: [web-audio-api] (AudioBufferDirectAccess): AudioBuffer direct access (#124)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:45 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/124/24244370@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17401#2) by Olivier Thereaux on W3C Bugzilla. Thu, 07 Jun 2012 14:58:58 GMT

More feedback from Philip in http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0485.html


The suggested change effectively requires the audio data to be copied when  
the audioprocess callback returns, which isn't necessary to solve the  
problem. We suggest defining it in terms of ownership transfer,[1] like  
when a typed array is used with postMessage.

In other words, the Float32Array should be neutered, after which reading  
the length property returns 0.[2]

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#transferable-objects
[2] http://www.khronos.org/registry/typedarray/specs/latest/#7

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/124#issuecomment-24244370
Received on Wednesday, 11 September 2013 14:34:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:24 UTC