From 29e345ec325c986ac67010db12591a2df0c81ea4 Mon Sep 17 00:00:00 2001 From: Neil Stalker Date: Mon, 24 Jun 2013 21:57:05 +0100 Subject: [PATCH] fix webaudioapi --- webaudioapi/waa-20120802.d.ts | 2 +- webaudioapi/waa-nightly.d.ts | 2 +- webaudioapi/waa.d.ts | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webaudioapi/waa-20120802.d.ts b/webaudioapi/waa-20120802.d.ts index b90c4b9597..271bb41393 100644 --- a/webaudioapi/waa-20120802.d.ts +++ b/webaudioapi/waa-20120802.d.ts @@ -71,7 +71,7 @@ interface AudioNode { numberOfInputs: number; numberOfOutputs: number; -}; +} interface AudioSourceNode extends AudioNode { diff --git a/webaudioapi/waa-nightly.d.ts b/webaudioapi/waa-nightly.d.ts index 38ef2f4015..edacc8e105 100644 --- a/webaudioapi/waa-nightly.d.ts +++ b/webaudioapi/waa-nightly.d.ts @@ -93,7 +93,7 @@ interface DelayNode extends AudioNode { delayTime: AudioParam; -}; +} interface AudioBuffer { diff --git a/webaudioapi/waa.d.ts b/webaudioapi/waa.d.ts index be6898d392..5479fe3345 100644 --- a/webaudioapi/waa.d.ts +++ b/webaudioapi/waa.d.ts @@ -597,7 +597,7 @@ interface AudioProcessingEvent extends Event { outputBuffer: AudioBuffer; } -enum PanningModelType { +declare enum PanningModelType { /** * A simple and efficient spatialization algorithm using equal-power panning. */ @@ -614,7 +614,7 @@ enum PanningModelType { soundfield } -enum DistanceModelType { +declare enum DistanceModelType { /** * A linear distance model which calculates distanceGain according to: * 1 - rolloffFactor * (distance - refDistance) / (maxDistance - refDistance) @@ -895,7 +895,7 @@ interface DynamicsCompressorNode extends AudioNode { } -enum BiquadFilterType { +declare enum BiquadFilterType { /** * A lowpass filter allows frequencies below the cutoff frequency to pass through and attenuates frequencies above the cutoff. It implements a standard second-order resonant lowpass filter with 12dB/octave rolloff. * @@ -1043,7 +1043,7 @@ interface WaveShaperNode extends AudioNode { curve: Float32Array; } -enum OscillatorType { +declare enum OscillatorType { sine, square, sawtooth,