OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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) |
OLD | NEW |