Title: [95586] trunk/Source/WebCore
Revision
95586
Author
jer.no...@apple.com
Date
2011-09-20 17:16:52 -0700 (Tue, 20 Sep 2011)

Log Message

Fix clang compile errors in Web Audio
https://bugs.webkit.org/show_bug.cgi?id=68384

Reviewed by David Levin.

No new tests; no net change in functionality.

* platform/graphics/MediaPlayer.h: Forward declare (instead of including directly)
    AudioSourceProvider.
* webaudio/AudioChannelMerger.cpp:
(WebCore::AudioChannelMerger::checkNumberOfChannelsForInput): Remove unused parameter name.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (95585 => 95586)


--- trunk/Source/WebCore/ChangeLog	2011-09-21 00:05:31 UTC (rev 95585)
+++ trunk/Source/WebCore/ChangeLog	2011-09-21 00:16:52 UTC (rev 95586)
@@ -1,3 +1,17 @@
+2011-09-19  Jer Noble  <jer.no...@apple.com>
+
+        Fix clang compile errors in Web Audio
+        https://bugs.webkit.org/show_bug.cgi?id=68384
+
+        Reviewed by David Levin.
+
+        No new tests; no net change in functionality.
+
+        * platform/graphics/MediaPlayer.h: Forward declare (instead of including directly)
+            AudioSourceProvider.
+        * webaudio/AudioChannelMerger.cpp:
+        (WebCore::AudioChannelMerger::checkNumberOfChannelsForInput): Remove unused parameter name.
+
 2011-09-20  John Gregg  <john...@google.com>
 
         Directory Upload: parent path can truncate first char of the correct path

Modified: trunk/Source/WebCore/platform/graphics/MediaPlayer.h (95585 => 95586)


--- trunk/Source/WebCore/platform/graphics/MediaPlayer.h	2011-09-21 00:05:31 UTC (rev 95585)
+++ trunk/Source/WebCore/platform/graphics/MediaPlayer.h	2011-09-21 00:16:52 UTC (rev 95586)
@@ -41,10 +41,6 @@
 #include <wtf/PassOwnPtr.h>
 #include <wtf/text/StringHash.h>
 
-#if ENABLE(WEB_AUDIO)
-#include "AudioSourceProvider.h"
-#endif
-
 #if USE(ACCELERATED_COMPOSITING)
 #include "GraphicsLayer.h"
 #endif
@@ -62,6 +58,7 @@
 
 namespace WebCore {
 
+class AudioSourceProvider;
 class GStreamerGWorld;
 class MediaPlayerPrivateInterface;
 

Modified: trunk/Source/WebCore/webaudio/AudioChannelMerger.cpp (95585 => 95586)


--- trunk/Source/WebCore/webaudio/AudioChannelMerger.cpp	2011-09-21 00:05:31 UTC (rev 95585)
+++ trunk/Source/WebCore/webaudio/AudioChannelMerger.cpp	2011-09-21 00:16:52 UTC (rev 95586)
@@ -89,7 +89,7 @@
 
 // Any time a connection or disconnection happens on any of our inputs, we potentially need to change the
 // number of channels of our output.
-void AudioChannelMerger::checkNumberOfChannelsForInput(AudioNodeInput* input)
+void AudioChannelMerger::checkNumberOfChannelsForInput(AudioNodeInput*)
 {
     ASSERT(context()->isAudioThread() && context()->isGraphOwner());
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to