Changeset 268907 in webkit
- Timestamp:
- Oct 23, 2020, 1:06:05 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/audio/FFTFrame.h (modified) (2 diffs)
-
Source/WebCore/platform/audio/FFTFrameStub.cpp (modified) (2 diffs)
-
Source/WebCore/platform/audio/HRTFElevation.cpp (modified) (1 diff)
-
Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp (modified) (2 diffs)
-
Source/cmake/GStreamerChecks.cmake (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r268793 r268907 1 2020-10-23 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER) 4 https://bugs.webkit.org/show_bug.cgi?id=218083 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 A separate define was introduced back when we thought enabling WebAudio without enabling 9 <audio> would be a highly relevant scenario. I don't think it is very relevant, let's clean 10 this up. 11 12 * Source/cmake/GStreamerChecks.cmake: Wrap the WebAudio platform bits in the USE(GSTREAMER) umbrella. 13 1 14 2020-10-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r268904 r268907 1 2020-10-23 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] Replace USE(WEBAUDIO_GSTREAMER) with USE(GSTREAMER) 4 https://bugs.webkit.org/show_bug.cgi?id=218083 5 6 Reviewed by Xabier Rodriguez-Calvar. 7 8 * platform/audio/FFTFrame.h: No need for G_{BEGIN,END}_DECLS dance anymore, these were added 9 upstream 9 years ago. 10 * platform/audio/FFTFrameStub.cpp: 11 * platform/audio/HRTFElevation.cpp: 12 * platform/audio/gstreamer/FFTFrameGStreamer.cpp: 13 1 14 2020-10-22 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebCore/platform/audio/FFTFrame.h
r268826 r268907 32 32 #include "AudioArray.h" 33 33 34 #if USE(WEBAUDIO_GSTREAMER) 35 #include <glib.h> 36 G_BEGIN_DECLS 34 #if USE(GSTREAMER) 37 35 #include <gst/fft/gstfftf32.h> 38 G_END_DECLS 39 #endif // USE(WEBAUDIO_GSTREAMER) 36 #endif // USE(GSTREAMER) 40 37 41 38 #if USE(ACCELERATE) … … 108 105 #endif 109 106 110 #if USE( WEBAUDIO_GSTREAMER)107 #if USE(GSTREAMER) 111 108 GstFFTF32* m_fft; 112 109 GstFFTF32* m_inverseFft; 113 110 UniqueArray<GstFFTF32Complex> m_complexData; 114 #endif // USE( WEBAUDIO_GSTREAMER)111 #endif // USE(GSTREAMER) 115 112 116 113 AudioFloatArray m_realData; -
trunk/Source/WebCore/platform/audio/FFTFrameStub.cpp
r268826 r268907 30 30 #if ENABLE(WEB_AUDIO) 31 31 32 #if !OS(DARWIN) && !USE( WEBAUDIO_GSTREAMER)32 #if !OS(DARWIN) && !USE(GSTREAMER) 33 33 34 34 #include "FFTFrame.h" … … 81 81 } // namespace WebCore 82 82 83 #endif // !OS(DARWIN) && !USE( WEBAUDIO_GSTREAMER)83 #endif // !OS(DARWIN) && !USE(GSTREAMER) 84 84 85 85 #endif // ENABLE(WEB_AUDIO) -
trunk/Source/WebCore/platform/audio/HRTFElevation.cpp
r267544 r268907 55 55 constexpr float ResponseSampleRate = 44100; 56 56 57 #if PLATFORM(COCOA) || USE( WEBAUDIO_GSTREAMER)57 #if PLATFORM(COCOA) || USE(GSTREAMER) 58 58 #define USE_CONCATENATED_IMPULSE_RESPONSES 59 59 #endif -
trunk/Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp
r268826 r268907 21 21 #include "config.h" 22 22 23 #if USE( WEBAUDIO_GSTREAMER)23 #if USE(GSTREAMER) 24 24 25 25 #include "FFTFrame.h" … … 141 141 } // namespace WebCore 142 142 143 #endif // USE( WEBAUDIO_GSTREAMER)143 #endif // USE(GSTREAMER) -
trunk/Source/cmake/GStreamerChecks.cmake
r267882 r268907 17 17 message(FATAL_ERROR "GStreamer static library libgstreamer-full-1.0 not found") 18 18 else () 19 SET_AND_EXPOSE_TO_BUILD(USE_WEBAUDIO_GSTREAMER TRUE)20 19 SET_AND_EXPOSE_TO_BUILD(USE_GSTREAMER_FULL TRUE) 21 20 endif () … … 28 27 if (ENABLE_WEB_AUDIO) 29 28 list(APPEND GSTREAMER_COMPONENTS audio fft) 30 SET_AND_EXPOSE_TO_BUILD(USE_WEBAUDIO_GSTREAMER TRUE)31 29 endif () 32 30 … … 36 34 if (NOT PC_GSTREAMER_AUDIO_FOUND OR NOT PC_GSTREAMER_FFT_FOUND) 37 35 message(FATAL_ERROR "WebAudio requires the audio and fft GStreamer libraries. Please check your gst-plugins-base installation.") 38 else ()39 SET_AND_EXPOSE_TO_BUILD(USE_WEBAUDIO_GSTREAMER TRUE)40 36 endif () 41 37 endif ()
Note:
See TracChangeset
for help on using the changeset viewer.