Confirmed users
656
edits
No edit summary |
|||
Line 1: | Line 1: | ||
== Defining an Enhanced API for Audio (Draft Recommendation) == | == Defining an Enhanced API for Audio (Draft Recommendation) == | ||
===== Abstract ===== | ===== Abstract ===== | ||
Line 35: | Line 24: | ||
The continuing work on this specification and API can be tracked here, and in [[https://bugzilla.mozilla.org/show_bug.cgi?id=490705 the bug]. Comments, feedback, and collaboration are all welcome. You can reach the authors on irc in the [irc://irc.mozilla.org/audio #audio channel] on irc.mozilla.org. | The continuing work on this specification and API can be tracked here, and in [[https://bugzilla.mozilla.org/show_bug.cgi?id=490705 the bug]. Comments, feedback, and collaboration are all welcome. You can reach the authors on irc in the [irc://irc.mozilla.org/audio #audio channel] on irc.mozilla.org. | ||
===== Version ===== | |||
This is the second major version of this API--the previous version is available here. The primary improvements and changes are: | |||
* Removal of mozSpectrum (i.e., native FFT calculation) | |||
* Use of so called WebGL Arrays (i.e., fast, typed, native float arrays) for the event framebuffer as well as mozWriteAudio(). | |||
* Native array interfaces instead of using accessors and IDL array arguments. | |||
* No zero padding of audio data occurs anymore. All frames are exactly 4096 elements in length. | |||
Demos written for the previous version are '''not''' compatible, though can be made to be quite easily. See details below. | |||
== API Tutorial == | == API Tutorial == |