[Webkit-unassigned] [Bug 83902] New: OfflineAudioContext constructor must be exposed for Web Audio API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 13 10:38:45 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83902
Summary: OfflineAudioContext constructor must be exposed for
Web Audio API
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: crogers at google.com
CC: crogers at google.com, james.wei at intel.com
Internally for our layout tests we use an OfflineAudioContext for offline processing, but this is not yet in the specification.
Currently the layout tests overload the "normal" AudioContext constructor as such:
context = new webkitAudioContext(2, lengthInSampleFrames, sampleRate);
Providing three arguments, then creating an OfflineAudioContext instead of a normal AudioContext. But to expose this as an official part of the spec, I believe it would be better as:
context = new OfflineAudioContext(2, lengthInSampleFrames, sampleRate); // but of course for now would have the "webkit" prefix -- webkitOfflineAudioContext
This is because it's a different kind of context and we'll need to be careful that the "normal" AudioContext has room to grow with additional constructor arguments that don't clash with the offline ones...
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list