| 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 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(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_
IPP) && !USE(WEBAUDIO_OPENMAX_DL_FFT) | 32 #if !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_
IPP) && !USE(WEBAUDIO_OPENMAX_DL_FFT) |
| 33 | 33 |
| 34 #include "FFTFrame.h" | 34 #include "core/platform/audio/FFTFrame.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 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 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 { | 98 { |
| 99 ASSERT_NOT_REACHED(); | 99 ASSERT_NOT_REACHED(); |
| 100 return 0; | 100 return 0; |
| 101 } | 101 } |
| 102 | 102 |
| 103 } // namespace WebCore | 103 } // namespace WebCore |
| 104 | 104 |
| 105 #endif // !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) && !USE(WEB
AUDIO_IPP) | 105 #endif // !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) && !USE(WEB
AUDIO_IPP) |
| 106 | 106 |
| 107 #endif // ENABLE(WEB_AUDIO) | 107 #endif // ENABLE(WEB_AUDIO) |
| OLD | NEW |