[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

crogers at google.com crogers at google.com
Mon Feb 21 00:28:09 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 6d641c9b1d957e76688a0c6573cc1a6e26ed166b
Author: crogers at google.com <crogers at google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jan 31 22:56:37 2011 +0000

    2011-01-31  Chris Rogers  <crogers at google.com>
    
            Reviewed by Jeremy Orlow.
    
            Improve audio latency on Mac OS X for chromium port
            https://bugs.webkit.org/show_bug.cgi?id=53452
    
            * src/AudioDestinationChromium.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog
index fdda48a..c3c5bba 100644
--- a/Source/WebKit/chromium/ChangeLog
+++ b/Source/WebKit/chromium/ChangeLog
@@ -1,3 +1,12 @@
+2011-01-31  Chris Rogers  <crogers at google.com>
+
+        Reviewed by Jeremy Orlow.
+
+        Improve audio latency on Mac OS X for chromium port
+        https://bugs.webkit.org/show_bug.cgi?id=53452
+
+        * src/AudioDestinationChromium.cpp:
+
 2011-01-29  Patrick Gansterer  <paroga at webkit.org>
 
         Reviewed by David Kilzer.
diff --git a/Source/WebKit/chromium/src/AudioDestinationChromium.cpp b/Source/WebKit/chromium/src/AudioDestinationChromium.cpp
index bed2562..a483308 100644
--- a/Source/WebKit/chromium/src/AudioDestinationChromium.cpp
+++ b/Source/WebKit/chromium/src/AudioDestinationChromium.cpp
@@ -41,10 +41,15 @@ using namespace WebKit;
 namespace WebCore {
 
 // Buffer size that the Chromium audio system will call us back with.
+#if OS(DARWIN)
+// For Mac OS X the chromium audio backend uses a low-latency CoreAudio API, so a low buffer size is possible.
+const unsigned callbackBufferSize = 128;
+#else
 // This value may need to be tuned based on the OS.
 // FIXME: It may be possible to reduce this value once real-time threads
 // and other Chromium audio improvements are made.
 const unsigned callbackBufferSize = 2048;
+#endif
 
 // Buffer size at which the web audio engine will render.
 const unsigned renderBufferSize = 128;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list