Backout a74bd5095902, Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with...
[gecko.git] / dom / webidl / NotifyAudioAvailableEvent.webidl
blob26672befecc68956b46e95f6988823231fb21c8b
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 interface NotifyAudioAvailableEvent : Event
9   [Throws]
10   readonly attribute Float32Array frameBuffer;
12   readonly attribute float  time;
14   [Throws]
15   void initAudioAvailableEvent(DOMString type,
16                                boolean canBubble,
17                                boolean cancelable,
18                                sequence<float>? frameBuffer,
19                                unsigned long frameBufferLength,
20                                float time,
21                                boolean allowAudioData);