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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h

Issue 2478283003: Use kRenderQuantumFrames in more places (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
index 347795abcdb1acf13f4a2bcecc42bf68607d56be..30eb3f96250f62172187488c708a8874394ef224 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
@@ -61,15 +61,15 @@ class OfflineAudioDestinationHandler final : public AudioDestinationHandler {
float sampleRate() const override { return m_renderTarget->sampleRate(); }
- size_t renderQuantumFrames() const { return renderQuantumSize; }
+ size_t renderQuantumFrames() const {
+ return AudioUtilities::kRenderQuantumFrames;
+ }
WebThread* offlineRenderThread();
private:
OfflineAudioDestinationHandler(AudioNode&, AudioBuffer* renderTarget);
- static const size_t renderQuantumSize;
-
// Set up the rendering and start. After setting the context up, it will
// eventually call |doOfflineRendering|.
void startOfflineRendering();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698