[Bug 17401] (AudioBufferDirectAccess): AudioBuffer direct access

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17401

--- Comment #3 from Olivier Thereaux <olivier.thereaux@bbc.co.uk> 2012-06-07 14:58:58 UTC ---
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

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 7 June 2012 14:59:05 UTC