Index: webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc |
diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc b/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc |
index cb3f48344037e601146ff3932602e804f61f4acd..8c7e5b7a93e5c3c6f4ee49eaae388936b1bc6fb0 100644 |
--- a/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc |
+++ b/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc |
@@ -60,8 +60,7 @@ class NetEqPcmuQualityTest : public NetEqQualityTest { |
int EncodeBlock(int16_t* in_data, |
size_t block_size_samples, |
- uint8_t* payload, |
- size_t max_bytes) override { |
+ rtc::Buffer* payload, size_t max_bytes) override { |
const size_t kFrameSizeSamples = 80; // Samples per 10 ms. |
size_t encoded_samples = 0; |
uint32_t dummy_timestamp = 0; |
@@ -70,7 +69,7 @@ class NetEqPcmuQualityTest : public NetEqQualityTest { |
info = encoder_->Encode(dummy_timestamp, |
rtc::ArrayView<const int16_t>( |
in_data + encoded_samples, kFrameSizeSamples), |
- max_bytes, payload); |
+ payload); |
encoded_samples += kFrameSizeSamples; |
} while (info.encoded_bytes == 0); |
return rtc::checked_cast<int>(info.encoded_bytes); |