Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2405)

Unified Diff: Source/modules/webaudio/WaveShaperNode.idl

Issue 15619003: Add support for WaveShaperNode.oversample (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: change TestExpectations in middle of file Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/WaveShaperNode.cpp ('k') | Source/modules/webaudio/WaveShaperProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/WaveShaperNode.idl
diff --git a/Source/modules/webaudio/WaveShaperNode.idl b/Source/modules/webaudio/WaveShaperNode.idl
index 9bc7b24d5a1a088d3ad102048f8f4d207bfda994..c4f4c810e4fde86632c6cfe7baa5e75fe920af09 100644
--- a/Source/modules/webaudio/WaveShaperNode.idl
+++ b/Source/modules/webaudio/WaveShaperNode.idl
@@ -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;
};
« no previous file with comments | « Source/modules/webaudio/WaveShaperNode.cpp ('k') | Source/modules/webaudio/WaveShaperProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698