Index: content/renderer/media/webrtc_audio_device_impl.cc |
=================================================================== |
--- content/renderer/media/webrtc_audio_device_impl.cc (revision 271416) |
+++ content/renderer/media/webrtc_audio_device_impl.cc (working copy) |
@@ -150,6 +150,8 @@ |
int16* audio_data = &render_buffer_[0]; |
while (accumulated_audio_frames < audio_bus->frames()) { |
// Get 10ms and append output to temporary byte buffer. |
+ uint32_t rtp_ts = 0; |
+ int64_t ntp_ts = 0; |
if (is_audio_track_processing_enabled_) { |
// When audio processing is enabled in the audio track, we use |
// PullRenderData() instead of NeedMorePlayData() to avoid passing the |
@@ -160,7 +162,9 @@ |
sample_rate, |
audio_bus->channels(), |
frames_per_10_ms, |
- audio_data); |
+ audio_data, |
+ &rtp_ts, |
+ &ntp_ts); |
accumulated_audio_frames += frames_per_10_ms; |
} else { |
// TODO(xians): Remove the following code after the APM in WebRTC is |
@@ -170,7 +174,9 @@ |
audio_bus->channels(), |
sample_rate, |
audio_data, |
- num_audio_frames); |
+ num_audio_frames, |
+ &rtp_ts, |
+ &ntp_ts); |
accumulated_audio_frames += num_audio_frames; |
} |