fix webaudioapi

This commit is contained in:
Neil Stalker
2013-06-24 21:57:05 +01:00
parent 557b38099e
commit 29e345ec32
3 changed files with 6 additions and 6 deletions

View File

@@ -71,7 +71,7 @@ interface AudioNode {
numberOfInputs: number;
numberOfOutputs: number;
};
}
interface AudioSourceNode extends AudioNode {

View File

@@ -93,7 +93,7 @@ interface DelayNode extends AudioNode {
delayTime: AudioParam;
};
}
interface AudioBuffer {

View File

@@ -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,