Index: modules/webaudio/WaveShaperNode.idl |
=================================================================== |
--- modules/webaudio/WaveShaperNode.idl (revision 23517) |
+++ modules/webaudio/WaveShaperNode.idl (working copy) |
@@ -22,8 +22,15 @@ |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+enum OverSampleType { |
+ "none", |
+ "2x", |
+ "4x" |
+}; |
+ |
[ |
Conditional=WEB_AUDIO |
] interface WaveShaperNode : AudioNode { |
attribute Float32Array curve; |
+ [SetterRaisesException] attribute OverSampleType oversample; |
}; |