mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The event handler was defined to take an argument of generic type Event: this loses the audio event specific type info as defined in the (unused) AudioProcessingEvent interface. This patch declares the onaudioprocessing event handler as accepting an argument of the correct type. |
||
|---|---|---|
| .. | ||
| readme.md | ||
| waa-20120802.d.ts | ||
| waa-nightly.d.ts | ||
| waa-nightly.d.ts.tscparams | ||
| waa-tests.ts | ||
| waa.d.ts | ||
Web Audio API Definition Notes
The Web Audio API
The Web Audio API is currently still under development. However WebKit browsers have started an implementation of the proposed specifications which can be found at: w3.org.
The WebKit nightly builds try to keep up with the editors draft version of the specifications w3.org
Adding the reference to your project
/// <reference path="waa.d.ts" />
or
/// <reference path="waa-nightly.d.ts" />