Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1294)

Unified Diff: content/browser/renderer_host/media/audio_sync_reader.h

Issue 7755001: Workaround for race condition between audio host and renderer (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_sync_reader.h
===================================================================
--- content/browser/renderer_host/media/audio_sync_reader.h (revision 100908)
+++ content/browser/renderer_host/media/audio_sync_reader.h (working copy)
@@ -9,6 +9,7 @@
#include "base/file_descriptor_posix.h"
#include "base/process.h"
#include "base/sync_socket.h"
+#include "base/time.h"
#include "media/audio/audio_output_controller.h"
namespace base {
@@ -40,6 +41,7 @@
private:
base::SharedMemory* shared_memory_;
+ base::Time previous_call_time_;
// A pair of SyncSocket for transmitting audio data.
scoped_ptr<base::SyncSocket> socket_;
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698