Index: content/renderer/media/webrtc_local_audio_track.h |
diff --git a/content/renderer/media/webrtc_local_audio_track.h b/content/renderer/media/webrtc_local_audio_track.h |
index 01b11208021d3e32198eb3061f1895957fb7f29d..38027d93bf6c9a86a5197833b49be87cfd5eabaf 100644 |
--- a/content/renderer/media/webrtc_local_audio_track.h |
+++ b/content/renderer/media/webrtc_local_audio_track.h |
@@ -65,10 +65,10 @@ class CONTENT_EXPORT WebRtcLocalAudioTrack |
void Stop(); |
// Method called by the capturer to deliver the capture data. |
- void Capture(media::AudioBus* audio_source, |
- int audio_delay_milliseconds, |
- int volume, |
- bool key_pressed); |
+ void Capture(const int16* audio_data, |
+ int sample_rate, |
+ int number_of_channels, |
+ int number_of_frames); |
// Method called by the capturer to set the audio parameters used by source |
// of the capture data.. |
@@ -125,10 +125,7 @@ class CONTENT_EXPORT WebRtcLocalAudioTrack |
bool need_audio_processing_; |
- // Buffers used for temporary storage during capture callbacks. |
- // Allocated during initialization. |
- class ConfiguredBuffer; |
- scoped_refptr<ConfiguredBuffer> buffer_; |
+ media::AudioParameters params_; |
DISALLOW_COPY_AND_ASSIGN(WebRtcLocalAudioTrack); |
}; |