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 22830 - Specify the data model for AudioContext.createPeriodicWave
Summary: Specify the data model for AudioContext.createPeriodicWave
Status: CLOSED WONTFIX
Alias: None
Product: AudioWG
Classification: Unclassified
Component: Web Audio API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: Chris Rogers
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 18:48 UTC by Ehsan Akhgari [:ehsan]
Modified: 2014-10-28 17:17 UTC (History)
1 user (show)

See Also:


Attachments

Description Ehsan Akhgari [:ehsan] 2013-07-29 18:48:53 UTC
We need to specify exactly what happens when you call AudioContext.createPeriodicWave.  Roc's proposal was that we should copy the arrays passed into this method when it gets called and use the internal copies from that point on so that we don't race with those arrays being modified on the main thread.  I support that proposal.
Comment 1 Marcus Geelnard (Opera) 2013-08-05 13:43:36 UTC
I also support the copy behavior, it's the clearest definition.
Comment 2 Ehsan Akhgari [:ehsan] 2013-08-08 03:21:50 UTC
Chris, how do you feel about this?
Comment 3 Olivier Thereaux 2014-10-28 17:14:59 UTC
Web Audio API issues have been migrated to Github. 
See https://github.com/WebAudio/web-audio-api/issues
Comment 4 Olivier Thereaux 2014-10-28 17:17:58 UTC
Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.