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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp

Issue 2809923004: AnalyserNode.channelCount should be 1 (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
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/constructor/analyser.html ('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/AnalyserNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
index 330e14bdb1574b8bac499fc60d02a76f79135e06..dddafd58d068e0170bedc8b1b9e4c10af2d68e5b 100644
--- a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
@@ -34,7 +34,8 @@
namespace blink {
AnalyserHandler::AnalyserHandler(AudioNode& node, float sample_rate)
- : AudioBasicInspectorHandler(kNodeTypeAnalyser, node, sample_rate, 2) {
+ : AudioBasicInspectorHandler(kNodeTypeAnalyser, node, sample_rate, 1) {
+ channel_count_ = 1;
Initialize();
}
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/constructor/analyser.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698