Changes

Jump to: navigation, search

Audio Data API

No change in size, 03:19, 10 March 2010
nsIDOMNotifyAudioWrittenEvent
The '''mozFrameBuffer''' attribute contains the raw audio data (float values) obtained from decoding a single frame of audio. This is of the form <nowiki>[left, right, left, right, ...]</nowiki>. All audio frames are normalized to a length of 4096 or greater, where shorter frames are padded with 0 (zero).
The '''mozSpectrum''' attribute contains a pre-calculated FFT for this frame of audio data. It is calculated using the first 4096 float values in the current audio frame only, which may include zeros used to pad the buffer. It is always 2048 1024 elements in length.
===== nsIDOMHTMLMediaElement additions =====
Confirm
656
edits

Navigation menu