Index: content/renderer/media/audio_input_message_filter.cc |
=================================================================== |
--- content/renderer/media/audio_input_message_filter.cc (revision 186364) |
+++ content/renderer/media/audio_input_message_filter.cc (working copy) |
@@ -94,7 +94,8 @@ |
#else |
base::FileDescriptor socket_descriptor, |
#endif |
- uint32 length) { |
+ uint32 length, |
+ uint32 total_segments) { |
DCHECK(io_message_loop_->BelongsToCurrentThread()); |
#if !defined(OS_WIN) |
@@ -109,7 +110,7 @@ |
return; |
} |
// Forward message to the stream delegate. |
- delegate->OnStreamCreated(handle, socket_handle, length); |
+ delegate->OnStreamCreated(handle, socket_handle, length, total_segments); |
} |
void AudioInputMessageFilter::OnStreamVolume(int stream_id, double volume) { |
@@ -160,9 +161,11 @@ |
void AudioInputMessageFilter::CreateStream(int stream_id, |
const media::AudioParameters& params, |
const std::string& device_id, |
- bool automatic_gain_control) { |
+ bool automatic_gain_control, |
+ uint32 shared_memory_count) { |
Send(new AudioInputHostMsg_CreateStream( |
- stream_id, params, device_id, automatic_gain_control)); |
+ stream_id, params, device_id, automatic_gain_control, |
+ shared_memory_count)); |
} |
void AudioInputMessageFilter::AssociateStreamWithConsumer(int stream_id, |