| Index: content/renderer/media/audio_input_device.cc
|
| ===================================================================
|
| --- content/renderer/media/audio_input_device.cc (revision 90962)
|
| +++ content/renderer/media/audio_input_device.cc (working copy)
|
| @@ -133,12 +133,12 @@
|
| void AudioInputDevice::InitializeOnIOThread(const AudioParameters& params) {
|
| stream_id_ = filter_->AddDelegate(this);
|
| filter_->Send(
|
| - new AudioInputHostMsg_CreateStream(0, stream_id_, params, true));
|
| + new AudioInputHostMsg_CreateStream(stream_id_, params, true));
|
| }
|
|
|
| void AudioInputDevice::StartOnIOThread() {
|
| if (stream_id_)
|
| - filter_->Send(new AudioInputHostMsg_RecordStream(0, stream_id_));
|
| + filter_->Send(new AudioInputHostMsg_RecordStream(stream_id_));
|
| }
|
|
|
| void AudioInputDevice::ShutDownOnIOThread() {
|
| @@ -146,14 +146,14 @@
|
| if (!stream_id_)
|
| return;
|
|
|
| - filter_->Send(new AudioInputHostMsg_CloseStream(0, stream_id_));
|
| + filter_->Send(new AudioInputHostMsg_CloseStream(stream_id_));
|
| filter_->RemoveDelegate(stream_id_);
|
| stream_id_ = 0;
|
| }
|
|
|
| void AudioInputDevice::SetVolumeOnIOThread(double volume) {
|
| if (stream_id_)
|
| - filter_->Send(new AudioInputHostMsg_SetVolume(0, stream_id_, volume));
|
| + filter_->Send(new AudioInputHostMsg_SetVolume(stream_id_, volume));
|
| }
|
|
|
| void AudioInputDevice::OnLowLatencyCreated(
|
|
|