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

Unified Diff: Source/WebCore/platform/audio/Biquad.cpp

Issue 7745029: Merge 92408 - Make sure that AudioArray is 16-byte aligned (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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 | « Source/WebCore/platform/audio/AudioArray.h ('k') | Source/WebCore/platform/audio/ReverbConvolverStage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/audio/Biquad.cpp
===================================================================
--- Source/WebCore/platform/audio/Biquad.cpp (revision 93809)
+++ Source/WebCore/platform/audio/Biquad.cpp (working copy)
@@ -48,8 +48,8 @@
{
#if OS(DARWIN)
// Allocate two samples more for filter history
- m_inputBuffer.resize(kBufferSize + 2);
- m_outputBuffer.resize(kBufferSize + 2);
+ m_inputBuffer.allocate(kBufferSize + 2);
+ m_outputBuffer.allocate(kBufferSize + 2);
#endif
// Initialize as pass-thru (straight-wire, no filter effect)
« no previous file with comments | « Source/WebCore/platform/audio/AudioArray.h ('k') | Source/WebCore/platform/audio/ReverbConvolverStage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698