Title: [92979] trunk/Source/WebCore
Revision
92979
Author
[email protected]
Date
2011-08-12 11:56:44 -0700 (Fri, 12 Aug 2011)

Log Message

Fix mac build when web audio is enabled
https://bugs.webkit.org/show_bug.cgi?id=66150

Unreviewed build fix.

* platform/audio/mac/AudioFileReaderMac.cpp:
(WebCore::AudioFileReader::createBus):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92978 => 92979)


--- trunk/Source/WebCore/ChangeLog	2011-08-12 18:43:36 UTC (rev 92978)
+++ trunk/Source/WebCore/ChangeLog	2011-08-12 18:56:44 UTC (rev 92979)
@@ -1,3 +1,13 @@
+2011-08-12  Chris Rogers  <[email protected]>
+
+        Fix mac build when web audio is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=66150
+
+        Unreviewed build fix.
+
+        * platform/audio/mac/AudioFileReaderMac.cpp:
+        (WebCore::AudioFileReader::createBus):
+
 2011-08-12  Jeff Miller  <[email protected]>
 
         Need to handle kCACFContextNeedsFlushNotification notifications that arrive after the AVFWrapper has been disposed

Modified: trunk/Source/WebCore/platform/audio/mac/AudioFileReaderMac.cpp (92978 => 92979)


--- trunk/Source/WebCore/platform/audio/mac/AudioFileReaderMac.cpp	2011-08-12 18:43:36 UTC (rev 92978)
+++ trunk/Source/WebCore/platform/audio/mac/AudioFileReaderMac.cpp	2011-08-12 18:56:44 UTC (rev 92979)
@@ -199,8 +199,8 @@
     AudioBufferList* bufferList = createAudioBufferList(numberOfChannels);
 
     if (mixToMono && numberOfChannels == 2) {
-        bufL.resize(numberOfFrames);
-        bufR.resize(numberOfFrames);
+        bufL.allocate(numberOfFrames);
+        bufR.allocate(numberOfFrames);
         bufferL = bufL.data();
         bufferR = bufR.data();
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to