Index: media/audio/audio_device_thread.h |
diff --git a/media/audio/audio_device_thread.h b/media/audio/audio_device_thread.h |
index 976f88359ba8595a627bf2f83387ec1fd31e630d..7a1a6ed8c4cb08cc943945d5f9d8108712f07c7c 100644 |
--- a/media/audio/audio_device_thread.h |
+++ b/media/audio/audio_device_thread.h |
@@ -12,7 +12,6 @@ |
#include "base/sync_socket.h" |
#include "base/synchronization/lock.h" |
#include "media/audio/audio_parameters.h" |
-#include "media/audio/shared_memory_util.h" |
#include "media/base/media_export.h" |
namespace base { |
@@ -74,10 +73,13 @@ class MEDIA_EXPORT AudioDeviceThread { |
AudioDeviceThread(); |
~AudioDeviceThread(); |
- // Starts the audio thread. The thread must not already be running. |
+ // Starts the audio thread. The thread must not already be running. If |
+ // |sychronized_buffers| is set, the browser expects to be notified via the |
+ // |socket| every time AudioDeviceThread::Process() completes. |
void Start(AudioDeviceThread::Callback* callback, |
base::SyncSocket::Handle socket, |
- const char* thread_name); |
+ const char* thread_name, |
+ bool synchronized_buffers); |
// This tells the audio thread to stop and clean up the data. |
// The method can stop the thread synchronously or asynchronously. |