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

Side by Side Diff: Source/core/platform/audio/FFTFrameStub.cpp

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 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
« no previous file with comments | « Source/core/platform/audio/FFTFrame.h ('k') | Source/core/platform/audio/Reverb.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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_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 "core/platform/audio/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 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 float* FFTFrame::imagData() const 97 float* FFTFrame::imagData() const
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_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEB AUDIO_OPENMAX_DL_FFT) 105 #endif // !OS(MACOSX) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_IPP) && !USE(WEB AUDIO_OPENMAX_DL_FFT)
106 106
107 #endif // ENABLE(WEB_AUDIO) 107 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/core/platform/audio/FFTFrame.h ('k') | Source/core/platform/audio/Reverb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698