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..fae55733f49a81daf35a70f4efc2daccbb95ce4e 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(), Seek() starts over at the |
+ // beginning of the file if the end is reached. However, seeking backwards |
+ // past the beginning of the file is not possible. |
+ virtual bool Seek(int samples); |
+ |
// 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 |