| Index: content/renderer/media/audio_input_device.h
|
| ===================================================================
|
| --- content/renderer/media/audio_input_device.h (revision 111890)
|
| +++ content/renderer/media/audio_input_device.h (working copy)
|
| @@ -170,7 +170,7 @@
|
|
|
| // Method called on the audio thread ----------------------------------------
|
| // Calls the client's callback for capturing audio.
|
| - void FireCaptureCallback();
|
| + void FireCaptureCallback(int16* input_audio);
|
|
|
| // DelegateSimpleThread::Delegate implementation.
|
| virtual void Run() OVERRIDE;
|
| @@ -195,11 +195,6 @@
|
| // Callbacks for capturing audio occur on this thread.
|
| scoped_ptr<base::DelegateSimpleThread> audio_thread_;
|
|
|
| - // IPC message stuff.
|
| - base::SharedMemory* shared_memory() { return shared_memory_.get(); }
|
| - base::SyncSocket* socket() { return socket_.get(); }
|
| - void* shared_memory_data() { return shared_memory()->memory(); }
|
| -
|
| // Cached audio input message filter (lives on the main render thread).
|
| scoped_refptr<AudioInputMessageFilter> filter_;
|
|
|
| @@ -214,8 +209,9 @@
|
| // callback. Only modified on the IO thread.
|
| bool pending_device_ready_;
|
|
|
| - scoped_ptr<base::SharedMemory> shared_memory_;
|
| - scoped_ptr<base::SyncSocket> socket_;
|
| + base::SharedMemoryHandle shared_memory_handle_;
|
| + base::SyncSocket::Handle socket_handle_;
|
| + int memory_length_;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputDevice);
|
| };
|
|
|