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

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

Issue 2397793002: AudioBuffer numberOfChannels defaults to 1 (Closed)
Patch Set: Rebase Created 4 years, 2 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 | « third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/AudioBufferOptions.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferOptions.idl b/third_party/WebKit/Source/modules/webaudio/AudioBufferOptions.idl
index aa92e5f46e3c4640d240f45845945d298a0014f0..07277508095ba65ab1df78bce301744a156ab10c 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferOptions.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferOptions.idl
@@ -4,7 +4,7 @@
// See https://webaudio.github.io/web-audio-api/#audiobufferoptions
dictionary AudioBufferOptions {
- unsigned long numberOfChannels;
- unsigned long length;
+ unsigned long numberOfChannels = 1;
+ required unsigned long length;
float sampleRate;
};
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698