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

Re: Proposal for fixing race conditions

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 18 Jul 2013 09:02:27 +1200
Message-ID: <CAOp6jLZfCPdnfeES9Ci=W19sroWYVSzUx6S99Jae4Dv9qKyBeQ@mail.gmail.com>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Cc: Jer Noble <jer.noble@apple.com>, "K. Gadd" <kg@luminance.org>, Olivier Thereaux <Olivier.Thereaux@bbc.co.uk>, WG <public-audio@w3.org>
On Thu, Jul 18, 2013 at 3:00 AM, Ehsan Akhgari <ehsan.akhgari@gmail.com>wrote:

> If we're willing to break API backwards compatibility by making
> AudioBuffers immutable for example, and avoid using Float32Arrays anywhere
> except as an argument to the AudioBuffer constructor, then we'll avoid all
> of the memcpy costs in the normal usage of the API, except when creating an
> AudioBuffer.
>

We also have the option of leaving the current APIs in place and offering
additional APIs that don't copy.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*
Received on Wednesday, 17 July 2013 21:02:55 UTC

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