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

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

Issue 14304002: Support concatenated spatialization data (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 | Source/WebKit/chromium/WebKit.grd » ('j') | Source/WebKit/chromium/WebKit.grd » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/audio/HRTFElevation.cpp
diff --git a/Source/WebCore/platform/audio/HRTFElevation.cpp b/Source/WebCore/platform/audio/HRTFElevation.cpp
index c3faba6f4340d4d1cc0ae68b5c8b5647e2153b5b..c1f08b36c3df437c36bbe9747d07127e34fe9eff 100644
--- a/Source/WebCore/platform/audio/HRTFElevation.cpp
+++ b/Source/WebCore/platform/audio/HRTFElevation.cpp
@@ -62,7 +62,9 @@ const size_t ResponseFrameSize = 256;
// The impulse responses may be resampled to a different sample-rate (depending on the audio hardware) when they are loaded.
const float ResponseSampleRate = 44100;
-#if USE(WEBAUDIO_GSTREAMER)
+// Loading up individual spatialization impulse responses is very slow on Android. Use the
+// concatenated response file to speed it up.
Chris Rogers 2013/04/17 22:36:56 Comment adds little value, please remove.
+#if USE(WEBAUDIO_GSTREAMER) || OS(ANDROID)
Chris Rogers 2013/04/17 22:36:56 I don't think this should be Android-specific sinc
#define USE_CONCATENATED_IMPULSE_RESPONSES
#endif
« no previous file with comments | « no previous file | Source/WebKit/chromium/WebKit.grd » ('j') | Source/WebKit/chromium/WebKit.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698