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

Side by Side Diff: Source/modules/webaudio/RealtimeAnalyser.cpp

Issue 176683003: HRTFDatabaseLoader is not an absolute condition to run audioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 26
27 #if ENABLE(WEB_AUDIO) 27 #if ENABLE(WEB_AUDIO)
28 28
29 #include "modules/webaudio/RealtimeAnalyser.h" 29 #include "modules/webaudio/RealtimeAnalyser.h"
30 30
31 #include "platform/audio/AudioBus.h" 31 #include "platform/audio/AudioBus.h"
32 #include "platform/audio/AudioUtilities.h" 32 #include "platform/audio/AudioUtilities.h"
33 #include "platform/audio/FFTFrame.h"
Raymond Toy (Google) 2014/02/24 23:01:22 Why is this deleted? RealtimeAnalyser calls new F
KhNo 2014/02/25 02:00:25 I have move to it in header
34 #include "platform/audio/VectorMath.h" 33 #include "platform/audio/VectorMath.h"
35 34
36 #include <algorithm> 35 #include <algorithm>
37 #include <limits.h> 36 #include <limits.h>
38 #include "wtf/Complex.h" 37 #include "wtf/Complex.h"
39 #include "wtf/Float32Array.h" 38 #include "wtf/Float32Array.h"
40 #include "wtf/MainThread.h" 39 #include "wtf/MainThread.h"
41 #include "wtf/MathExtras.h" 40 #include "wtf/MathExtras.h"
42 #include "wtf/Uint8Array.h" 41 #include "wtf/Uint8Array.h"
43 42
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 scaledValue = UCHAR_MAX; 290 scaledValue = UCHAR_MAX;
292 291
293 destination[i] = static_cast<unsigned char>(scaledValue); 292 destination[i] = static_cast<unsigned char>(scaledValue);
294 } 293 }
295 } 294 }
296 } 295 }
297 296
298 } // namespace WebCore 297 } // namespace WebCore
299 298
300 #endif // ENABLE(WEB_AUDIO) 299 #endif // ENABLE(WEB_AUDIO)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698