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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fixes to WebAudioDeviceImpl unit test. Created 3 years, 10 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/AudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
index dba1616c8ff031c0c3a2683e303d11f635c93ee4..4b1dba821ae97f2de98f7deffd3ce83d95efef95 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) {
addInput();
}

Powered by Google App Engine
This is Rietveld 408576698