summaryrefslogtreecommitdiffstats
path: root/remoting/codec/audio_encoder_opus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/codec/audio_encoder_opus.cc')
-rw-r--r--remoting/codec/audio_encoder_opus.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/codec/audio_encoder_opus.cc b/remoting/codec/audio_encoder_opus.cc
index 6ff3056..ab19c94 100644
--- a/remoting/codec/audio_encoder_opus.cc
+++ b/remoting/codec/audio_encoder_opus.cc
@@ -124,7 +124,8 @@ bool AudioEncoderOpus::ResetForPacket(AudioPacket* packet) {
return encoder_ != NULL;
}
-void AudioEncoderOpus::FetchBytesToResample(media::AudioBus* audio_bus) {
+void AudioEncoderOpus::FetchBytesToResample(int resampler_frame_delay,
+ media::AudioBus* audio_bus) {
DCHECK(resampling_data_);
int samples_left = (resampling_data_size_ - resampling_data_pos_) /
kBytesPerSample / channels_;