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

Unified Diff: Source/platform/audio/mac/FFTFrameMac.cpp

Issue 545773002: Change vsmul method from vDSP_ to VectorMatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/mac/FFTFrameMac.cpp
diff --git a/Source/platform/audio/mac/FFTFrameMac.cpp b/Source/platform/audio/mac/FFTFrameMac.cpp
index 718fa14d0882ed6a710dfba46af47b86f6cd603d..e7fbbfcb8fdc31bebc22efa3477991d092e058be 100644
--- a/Source/platform/audio/mac/FFTFrameMac.cpp
+++ b/Source/platform/audio/mac/FFTFrameMac.cpp
@@ -117,7 +117,7 @@ void FFTFrame::doInverseFFT(float* data)
// Do final scaling so that x == IFFT(FFT(x))
float scale = 1.0f / m_FFTSize;
- vDSP_vsmul(data, 1, &scale, data, 1, m_FFTSize);
+ VectorMath::vsmul(data, 1, &scale, data, 1, m_FFTSize);
}
FFTSetup FFTFrame::fftSetupForSize(unsigned fftSize)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698