Chromium Code Reviews| Index: media/audio/audio_input_ipc.h |
| =================================================================== |
| --- media/audio/audio_input_ipc.h (revision 186364) |
| +++ media/audio/audio_input_ipc.h (working copy) |
| @@ -34,7 +34,8 @@ |
| // and process the shared memory whenever data is read from the socket. |
| virtual void OnStreamCreated(base::SharedMemoryHandle handle, |
| base::SyncSocket::Handle socket_handle, |
| - int length) = 0; |
| + int length, |
| + int total_segments) = 0; |
| // Called when state of an audio stream has changed. |
| virtual void OnStateChanged(State state) = 0; |
| @@ -76,8 +77,12 @@ |
| // audio |params|. Once the stream has been created, the implementation must |
| // generate a notification to the AudioInputIPCDelegate and call |
| // OnStreamCreated(). |
| - virtual void CreateStream(int stream_id, const AudioParameters& params, |
| - const std::string& device_id, bool automatic_gain_control) = 0; |
| + virtual void CreateStream( |
| + int stream_id, |
| + const AudioParameters& params, |
| + const std::string& device_id, |
| + bool automatic_gain_control, |
| + uint32 shared_memory_count) = 0; |
|
DaleCurtis
2013/03/07 02:04:37
Consistent naming.
wjia(left Chromium)
2013/03/10 18:19:49
Done.
|
| // Starts the device on the server side. Once the device has started, |
| // or failed to start, a callback to |