Changes

Jump to: navigation, search

User:David.humphrey/Audio Data API 2

6 bytes added, 20:00, 18 May 2010
nsIDOMNotifyAudioWrittenEvent
</pre>
The '''mozFrameBuffer''' attribute contains a typed array ('''Float32Array''') and 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.
The '''mozTime''' attribute contains an unsigned integer representing the time in milliseconds since the start.
Confirm
656
edits

Navigation menu