| Index: trunk/src/content/renderer/media/webrtc_local_audio_track.cc
|
| ===================================================================
|
| --- trunk/src/content/renderer/media/webrtc_local_audio_track.cc (revision 217773)
|
| +++ trunk/src/content/renderer/media/webrtc_local_audio_track.cc (working copy)
|
| @@ -47,8 +47,7 @@
|
| int number_of_channels,
|
| int number_of_frames,
|
| int audio_delay_milliseconds,
|
| - int volume,
|
| - bool key_pressed) {
|
| + int volume) {
|
| scoped_refptr<WebRtcAudioCapturer> capturer;
|
| std::vector<int> voe_channels;
|
| int sample_rate = 0;
|
| @@ -69,15 +68,10 @@
|
|
|
| // Feed the data to the sinks.
|
| for (SinkList::const_iterator it = sinks.begin(); it != sinks.end(); ++it) {
|
| - int new_volume = (*it)->CaptureData(voe_channels,
|
| - audio_data,
|
| - sample_rate,
|
| - number_of_channels,
|
| - number_of_frames,
|
| - audio_delay_milliseconds,
|
| - volume,
|
| - need_audio_processing_,
|
| - key_pressed);
|
| + int new_volume = (*it)->CaptureData(voe_channels, audio_data, sample_rate,
|
| + number_of_channels, number_of_frames,
|
| + audio_delay_milliseconds, volume,
|
| + need_audio_processing_);
|
| if (new_volume != 0 && capturer.get())
|
| capturer->SetVolume(new_volume);
|
| }
|
|
|