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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl

Issue 2760353002: Define default values for options dictionaries for WebAudio (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl
index b19310131343fc2e4d60d0c559c4620a500ce8d0..d1822971c5b7a42d3124327b0d5a2c2cfb15ee0c 100644
--- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl
+++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorOptions.idl
@@ -4,9 +4,9 @@
// See https://webaudio.github.io/web-audio-api/#dynamicscompressoroptions
dictionary DynamicsCompressorOptions : AudioNodeOptions {
- float attack;
- float knee;
- float ratio;
- float release;
- float threshold;
+ float attack = 0.003;
+ float knee = 30;
+ float ratio = 12;
+ float release = 0.25;
+ float threshold = -24;
};

Powered by Google App Engine
This is Rietveld 408576698