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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Updates based on reviewer comments. Created 4 years 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/AudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
index 78eeb8ced6c5b85f712aabcab8f7e35e8b57d497..a5ab262f03642044613c211b45656b1541cf5cdf 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
@@ -33,10 +33,8 @@
namespace blink {
-AudioDestinationHandler::AudioDestinationHandler(AudioNode& node,
- float sampleRate)
- : AudioHandler(NodeTypeDestination, node, sampleRate),
- m_currentSampleFrame(0) {
+AudioDestinationHandler::AudioDestinationHandler(AudioNode& node)
+ : AudioHandler(NodeTypeDestination, node, 0), m_currentSampleFrame(0) {
hongchan 2016/12/02 17:40:12 So the initial sample rate is zero? Not sure why t
Andrew MacPherson 2016/12/05 14:12:53 I mentioned in an earlier comment to rtoy@ that th
addInput();
}

Powered by Google App Engine
This is Rietveld 408576698