Title: [108367] trunk/Source/WebCore
Revision
108367
Author
[email protected]
Date
2012-02-21 10:20:06 -0800 (Tue, 21 Feb 2012)

Log Message

[GTK] WebAudio build is broken
https://bugs.webkit.org/show_bug.cgi?id=79113

Patch by Philippe Normand <[email protected]> on 2012-02-21
Reviewed by Martin Robinson.

* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioGStreamerChannelPosition): Set a default value for
the position variable.
* platform/audio/gtk/AudioBusGtk.cpp: Include CString.h, needed
for sharedResourcesPath().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108366 => 108367)


--- trunk/Source/WebCore/ChangeLog	2012-02-21 18:00:00 UTC (rev 108366)
+++ trunk/Source/WebCore/ChangeLog	2012-02-21 18:20:06 UTC (rev 108367)
@@ -1,3 +1,16 @@
+2012-02-21  Philippe Normand  <[email protected]>
+
+        [GTK] WebAudio build is broken
+        https://bugs.webkit.org/show_bug.cgi?id=79113
+
+        Reviewed by Martin Robinson.
+
+        * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
+        (webKitWebAudioGStreamerChannelPosition): Set a default value for
+        the position variable.
+        * platform/audio/gtk/AudioBusGtk.cpp: Include CString.h, needed
+        for sharedResourcesPath().
+
 2012-02-21  Andreas Kling  <[email protected]>
 
         Kill FontFamilyValue.

Modified: trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp (108366 => 108367)


--- trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp	2012-02-21 18:00:00 UTC (rev 108366)
+++ trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp	2012-02-21 18:20:06 UTC (rev 108367)
@@ -93,7 +93,7 @@
 
 static GstAudioChannelPosition webKitWebAudioGStreamerChannelPosition(int channelIndex)
 {
-    GstAudioChannelPosition position;
+    GstAudioChannelPosition position = GST_AUDIO_CHANNEL_POSITION_NONE;
 
     switch (channelIndex) {
     case AudioBus::ChannelLeft:

Modified: trunk/Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp (108366 => 108367)


--- trunk/Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp	2012-02-21 18:00:00 UTC (rev 108366)
+++ trunk/Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp	2012-02-21 18:20:06 UTC (rev 108367)
@@ -23,6 +23,7 @@
 #include "AudioBus.h"
 
 #include "AudioFileReader.h"
+#include "CString.h"
 #include "FileSystem.h"
 #include "GOwnPtr.h"
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to