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 |