Audio-ISSUE-21 (EmptyInterfaces): Empty interfaces serve no purpose [Web Audio API]

Audio-ISSUE-21 (EmptyInterfaces): Empty interfaces serve no purpose [Web Audio API]

http://www.w3.org/2011/audio/track/issues/21

Raised by: Philip Jägenstedt
On product: Web Audio API

There are currently a number of empty interfaces:

    interface AudioSourceNode : AudioNode {

    }

  interface AudioGain : AudioParam {

  };

    interface MediaElementAudioSourceNode : AudioSourceNode {

    }

    interface AudioChannelSplitter : AudioNode {

    };

    interface WaveTable {

    }

(Copied verbatim, note the inconsistent indentation.)

These interfaces will be visible in the global namespace (the Window object) but serve no apparent purpose. In HTML, elements that do not have any special DOM interface are simply HTMLElement, a model we suggest to follow.

Received on Tuesday, 15 May 2012 12:47:52 UTC