Confirmed users
656
edits
Line 29: | Line 29: | ||
This is the second major version of this API--the previous version is available here. The primary improvements and changes are: | 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) | * Removal of '''mozSpectrum''' (i.e., native FFT calculation) -- will be done in JS now. | ||
* | * Added 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. | * 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. | * No zero padding of audio data occurs anymore. All frames are exactly 4096 elements in length. | ||
* Added mozSampleOffset() | * Added '''mozSampleOffset()''' | ||
* Removed undocumented position/buffer methods on audio element. | |||
Demos written for the previous version are '''not''' compatible, though can be made to be quite easily. See details below. | Demos written for the previous version are '''not''' compatible, though can be made to be quite easily. See details below. |