OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... |
26 // FFTFrame stub implementation to avoid link errors during bringup | 26 // FFTFrame stub implementation to avoid link errors during bringup |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 | 29 |
30 #if ENABLE(WEB_AUDIO) | 30 #if ENABLE(WEB_AUDIO) |
31 | 31 |
32 #if !OS(MACOSX) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEBAUDIO_
OPENMAX_DL_FFT) | 32 #if !OS(MACOSX) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEBAUDIO_
OPENMAX_DL_FFT) |
33 | 33 |
34 #include "platform/audio/FFTFrame.h" | 34 #include "platform/audio/FFTFrame.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace blink { |
37 | 37 |
38 // Normal constructor: allocates for a given fftSize. | 38 // Normal constructor: allocates for a given fftSize. |
39 FFTFrame::FFTFrame(unsigned /*fftSize*/) | 39 FFTFrame::FFTFrame(unsigned /*fftSize*/) |
40 : m_FFTSize(0) | 40 : m_FFTSize(0) |
41 , m_log2FFTSize(0) | 41 , m_log2FFTSize(0) |
42 { | 42 { |
43 ASSERT_NOT_REACHED(); | 43 ASSERT_NOT_REACHED(); |
44 } | 44 } |
45 | 45 |
46 // Creates a blank/empty frame (interpolate() must later be called). | 46 // Creates a blank/empty frame (interpolate() must later be called). |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ASSERT_NOT_REACHED(); | 88 ASSERT_NOT_REACHED(); |
89 return 0; | 89 return 0; |
90 } | 90 } |
91 | 91 |
92 float* FFTFrame::imagData() const | 92 float* FFTFrame::imagData() const |
93 { | 93 { |
94 ASSERT_NOT_REACHED(); | 94 ASSERT_NOT_REACHED(); |
95 return 0; | 95 return 0; |
96 } | 96 } |
97 | 97 |
98 } // namespace WebCore | 98 } // namespace blink |
99 | 99 |
100 #endif // !OS(MACOSX) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEB
AUDIO_OPENMAX_DL_FFT) | 100 #endif // !OS(MACOSX) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEB
AUDIO_OPENMAX_DL_FFT) |
101 | 101 |
102 #endif // ENABLE(WEB_AUDIO) | 102 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |