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

Re: Testing

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 3 Jul 2013 22:31:04 +1200
Message-ID: <CAOp6jLZW1e0MURzZTF8CEh0ZUemWLZArd5pXAqGMEs8pmq5OvA@mail.gmail.com>
To: Chris Lowis <chris.lowis@bbc.co.uk>
Cc: WebAudio <public-audio@w3.org>
On Wed, Jul 3, 2013 at 10:22 PM, Chris Lowis <chris.lowis@bbc.co.uk> wrote:

> It's been a few weeks since we last discussed testing. I'd like to do a
> bit more work on this in the next couple of weeks.
> The previous discussion concerned whether to use OfflineAudioContext or
> ScriptProcessorNode at the core of the tests to compare generated audio
> with a known-good reference.
> The advantage of ScriptProcessorNode is that it currently works on all
> implementations. The disadvantage is that tests can only run "in real
> time".
> With OfflineAudioContext, tests can run faster than real time - but
> there was some discussion about if/how OfflineAudioContext could be
> implemented given the spec as it stands.

OfflineAudioContext is implemented in Gecko now and we're using it for
testing. As far as I can tell, our implementation matches the current spec.
So that's the way to go.

Also, we've imported a few Blink tests with some glue code to make them run
in our test framework.

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, 3 July 2013 10:31:33 UTC

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