Bug 45010

Summary: Add AudioSourceNode files
Product: WebKit Reporter: Chris Rogers <crogers>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, commit-queue, dglazkov, eric.carlson, japhet, jer.noble, kbr, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Rogers 2010-08-31 17:26:28 PDT
Add AudioSourceNode files
Comment 1 Chris Rogers 2010-08-31 17:27:53 PDT
Created attachment 66146 [details]
Patch
Comment 2 Chris Rogers 2010-09-07 14:45:36 PDT
Here's the link to AudioSourceNode in the web audio API spec:
http://chromium.googlecode.com/svn/trunk/samples/audio/specification/specification.html#AudioSourceNode-section

This patch implements two attributes which are not in the spec.  I either need to change the spec or change the implementation, but it will require some thought to determine how to best design this and I would like to land this, even if it involves adding a FIXME to reconcile API.
Comment 3 Kenneth Russell 2010-09-07 17:59:15 PDT
Comment on attachment 66146 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=66146&action=prettypatch

> WebCore/webaudio/AudioSourceNode.idl:34
> +        readonly attribute AudioParam playbackRate;
Why are these attributes not documented in the preliminary web audio API ( http://chromium.googlecode.com/svn/trunk/samples/audio/specification/specification.html#AudioSourceNode-section )?
Comment 4 Chris Rogers 2010-09-08 17:42:36 PDT
Created attachment 66973 [details]
Patch
Comment 5 Chris Rogers 2010-09-08 17:44:17 PDT
Ok, I've moved the attributes out of this class to match the current specification.
Comment 6 Kenneth Russell 2010-09-09 14:08:42 PDT
Comment on attachment 66973 [details]
Patch

Looks fine. Sorry I didn't see your note above when doing my initial review, though I think it's better to keep this class in line with the spec.
Comment 7 WebKit Commit Bot 2010-09-09 20:31:03 PDT
Comment on attachment 66973 [details]
Patch

Clearing flags on attachment: 66973

Committed r67157: <http://trac.webkit.org/changeset/67157>
Comment 8 WebKit Commit Bot 2010-09-09 20:31:08 PDT
All reviewed patches have been landed.  Closing bug.