Index: content/renderer/media/webrtc_audio_device_impl.h |
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h |
index b644178030b5009677935ad1a45bbf80033479b4..dd953a562ecef1c05638e2a74321eb20513dd915 100644 |
--- a/content/renderer/media/webrtc_audio_device_impl.h |
+++ b/content/renderer/media/webrtc_audio_device_impl.h |
@@ -210,21 +210,11 @@ class WebRtcAudioCapturerSink { |
// |sample_rate| is the sample frequency of audio data. |
// |number_of_channels| is the number of channels reflecting the order of |
// surround sound channels. |
- // |audio_delay_milliseconds| is recording delay value. |
- // |current_volume| is current microphone volume, in range of |0, 255]. |
- // |need_audio_processing| indicates if the audio needs WebRtc AEC/NS/AGC |
- // audio processing. |
- // The return value is the new microphone volume, in the range of |0, 255]. |
- // When the volume does not need to be updated, it returns 0. |
- virtual int CaptureData(const std::vector<int>& channels, |
- const int16* audio_data, |
- int sample_rate, |
- int number_of_channels, |
- int number_of_frames, |
- int audio_delay_milliseconds, |
- int current_volume, |
- bool need_audio_processing, |
- bool key_pressed) = 0; |
+ virtual void CaptureData(const std::vector<int>& channels, |
+ const int16* audio_data, |
+ int sample_rate, |
+ int number_of_channels, |
+ int number_of_frames) = 0; |
// Set the format for the capture audio parameters. |
virtual void SetCaptureFormat(const media::AudioParameters& params) = 0; |
@@ -333,15 +323,11 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl |
// WebRtcAudioCapturerSink implementation. |
// Called on the AudioInputDevice worker thread. |
- virtual int CaptureData(const std::vector<int>& channels, |
- const int16* audio_data, |
- int sample_rate, |
- int number_of_channels, |
- int number_of_frames, |
- int audio_delay_milliseconds, |
- int current_volume, |
- bool need_audio_processing, |
- bool key_pressed) OVERRIDE; |
+ virtual void CaptureData(const std::vector<int>& channels, |
+ const int16* audio_data, |
+ int sample_rate, |
+ int number_of_channels, |
+ int number_of_frames) OVERRIDE; |
// Called on the main render thread. |
virtual void SetCaptureFormat(const media::AudioParameters& params) OVERRIDE; |