Changeset 77162 in webkit


Ignore:
Timestamp:
Jan 31, 2011 2:56:37 PM (13 years ago)
Author:
crogers@google.com
Message:

2011-01-31 Chris Rogers <crogers@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:
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r77062 r77162  
     12011-01-31  Chris Rogers  <crogers@google.com>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        Improve audio latency on Mac OS X for chromium port
     6        https://bugs.webkit.org/show_bug.cgi?id=53452
     7
     8        * src/AudioDestinationChromium.cpp:
     9
    1102011-01-29  Patrick Gansterer  <paroga@webkit.org>
    211
  • trunk/Source/WebKit/chromium/src/AudioDestinationChromium.cpp

    r75118 r77162  
    4242
    4343// Buffer size that the Chromium audio system will call us back with.
     44#if OS(DARWIN)
     45// For Mac OS X the chromium audio backend uses a low-latency CoreAudio API, so a low buffer size is possible.
     46const unsigned callbackBufferSize = 128;
     47#else
    4448// This value may need to be tuned based on the OS.
    4549// FIXME: It may be possible to reduce this value once real-time threads
    4650// and other Chromium audio improvements are made.
    4751const unsigned callbackBufferSize = 2048;
     52#endif
    4853
    4954// Buffer size at which the web audio engine will render.
Note: See TracChangeset for help on using the changeset viewer.