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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.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/DynamicsCompressorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
index 93e58b1085300a2d42c109aee23f02273b09e5a9..dabb5a78beeefbfebc4beb2db3bcf4d845673639 100644
--- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp
@@ -102,8 +102,8 @@ void DynamicsCompressorHandler::initialize() {
return;
AudioHandler::initialize();
- m_dynamicsCompressor = wrapUnique(
- new DynamicsCompressor(sampleRate(), defaultNumberOfOutputChannels));
+ m_dynamicsCompressor = wrapUnique(new DynamicsCompressor(
+ context()->sampleRate(), defaultNumberOfOutputChannels));
}
void DynamicsCompressorHandler::clearInternalStateWhenDisabled() {

Powered by Google App Engine
This is Rietveld 408576698