This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20840 - Use Web IDL to define OfflineAudioContext's contructor
Summary: Use Web IDL to define OfflineAudioContext's contructor
Status: CLOSED FIXED
Alias: None
Product: AudioWG
Classification: Unclassified
Component: Web Audio API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: Ehsan Akhgari [:ehsan]
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 19:44 UTC by Ehsan Akhgari [:ehsan]
Modified: 2013-03-13 15:32 UTC (History)
1 user (show)

See Also:


Attachments

Description Ehsan Akhgari [:ehsan] 2013-01-31 19:44:12 UTC
The proper Web IDL is:

[Constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate)]
interface OfflineAudioContext : AudioContext {

    void startRendering();

    attribute OfflineRenderSuccessCallback oncomplete;

};

The comment behind the IDL in the spec can also go away.
Comment 1 Ehsan Akhgari [:ehsan] 2013-03-04 20:05:06 UTC
Fixed in https://dvcs.w3.org/hg/audio/rev/4275c082b3de.
Comment 2 Ehsan Akhgari [:ehsan] 2013-03-04 20:05:41 UTC
(I didn't remove the comment, please feel free to remove it if you think that's a good idea, Chris.  Thanks!)
Comment 3 Olivier Thereaux 2013-03-13 15:32:37 UTC
(In reply to comment #1)
> Fixed in https://dvcs.w3.org/hg/audio/rev/4275c082b3de.

Seeing no objection to the fix/changeset. Closing.