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

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

Issue 1290113002: NetEq: Implement logging of Delayed Packet Outage Events (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing Minyue's comments Created 5 years, 4 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/input_audio_file.h
diff --git a/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h b/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h
index 075b5d33b506609727c8d944fb1b21e4c6c88ece..691c3a396e545db963133087a18648cab7dc11c4 100644
--- a/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h
+++ b/webrtc/modules/audio_coding/neteq/tools/input_audio_file.h
@@ -34,6 +34,12 @@ class InputAudioFile {
// The output |destination| must have the capacity to hold |samples| elements.
virtual bool Read(size_t samples, int16_t* destination);
+ // Fast-forwards (|samples| > 0) or -backwards (|samples| < 0) the file by the
+ // indicated number of samples. Just like Read(), Move() starts over at the
+ // beginning of the file if the end is reached. However, moving backwards past
+ // the beginning of the file is not possible.
+ virtual bool Move(int samples);
minyue-webrtc 2015/08/18 11:14:35 I forgot to add to my earlier commments that I'd l
hlundin-webrtc 2015/08/18 11:50:37 Done.
+
// Creates a multi-channel signal from a mono signal. Each sample is repeated
// |channels| times to create an interleaved multi-channel signal where all
// channels are identical. The output |destination| must have the capacity to

Powered by Google App Engine
This is Rietveld 408576698