Index: content/renderer/media/webrtc_audio_device_impl.cc |
diff --git a/content/renderer/media/webrtc_audio_device_impl.cc b/content/renderer/media/webrtc_audio_device_impl.cc |
index 36b321dadf4e7b56244591e5823668ae40bcf72f..1daf048fe86c2a8d45c8dcf5b4285672278b68c4 100644 |
--- a/content/renderer/media/webrtc_audio_device_impl.cc |
+++ b/content/renderer/media/webrtc_audio_device_impl.cc |
@@ -50,15 +50,15 @@ int32_t WebRtcAudioDeviceImpl::Release() { |
} |
return ret; |
} |
-int WebRtcAudioDeviceImpl::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) { |
+int WebRtcAudioDeviceImpl::OnData(const int16* audio_data, |
+ int sample_rate, |
+ int number_of_channels, |
+ int number_of_frames, |
+ const std::vector<int>& channels, |
+ int audio_delay_milliseconds, |
+ int current_volume, |
+ bool need_audio_processing, |
+ bool key_pressed) { |
int total_delay_ms = 0; |
{ |
base::AutoLock auto_lock(lock_); |
@@ -106,9 +106,9 @@ int WebRtcAudioDeviceImpl::CaptureData(const std::vector<int>& channels, |
return new_volume; |
} |
-void WebRtcAudioDeviceImpl::SetCaptureFormat( |
+void WebRtcAudioDeviceImpl::OnSetFormat( |
const media::AudioParameters& params) { |
- DVLOG(1) << "WebRtcAudioDeviceImpl::SetCaptureFormat()"; |
+ DVLOG(1) << "WebRtcAudioDeviceImpl::OnSetFormat()"; |
} |
void WebRtcAudioDeviceImpl::RenderData(uint8* audio_data, |