Index: modules/webaudio/WaveShaperNode.idl |
diff --git a/modules/webaudio/WaveShaperNode.idl b/modules/webaudio/WaveShaperNode.idl |
index e1ee72b63267350bbc6f5b7e1c47376e7df667d9..834b39e59bbd416f81b544ca41e131fd556c545c 100644 |
--- a/modules/webaudio/WaveShaperNode.idl |
+++ b/modules/webaudio/WaveShaperNode.idl |
@@ -22,9 +22,17 @@ |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+enum OverSampleType { |
+ "none", |
+ "2x", |
+ "4x" |
+}; |
+ |
[ |
Conditional=WEB_AUDIO |
] interface WaveShaperNode : AudioNode { |
- attribute Float32Array curve; |
- [RaisesException=Setter] attribute DOMString oversample; |
+ // FIXMEDART(ager): Auto-generate this custom method when the info about |
+ // retaining typed arrays is in the IDL. |
+ [DartCustom=Setter] attribute Float32Array curve; |
+ [RaisesException=Setter] attribute OverSampleType oversample; |
}; |