Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1107)

Unified Diff: webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h

Issue 1750353002: Change NetEq::GetAudio to use AudioFrame (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h
index 1b36d8b0a2262db4e1439d362912f34b5c2c5844..bd9f01aae4c54383627eb8a10c99e33ca4597f20 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h
@@ -42,10 +42,8 @@ class NetEqExternalDecoderTest {
rtc::ArrayView<const uint8_t> payload,
uint32_t receive_timestamp);
- // Get 10 ms of audio data. The data is written to |output|, which can hold
- // (at least) |max_length| elements. Returns number of samples.
- size_t GetOutputAudio(size_t max_length, int16_t* output,
- NetEqOutputType* output_type);
+ // Get 10 ms of audio data.
+ void GetOutputAudio(AudioFrame* output, NetEqOutputType* output_type);
NetEq* neteq() { return neteq_.get(); }

Powered by Google App Engine
This is Rietveld 408576698