| Index: webrtc/test/fake_audio_device.h
|
| diff --git a/webrtc/test/fake_audio_device.h b/webrtc/test/fake_audio_device.h
|
| index e44ec540f0f36221624bf457ef11324d60d52f82..f6017443d7c0300c74f73ad5031ae12d0fd1b48b 100644
|
| --- a/webrtc/test/fake_audio_device.h
|
| +++ b/webrtc/test/fake_audio_device.h
|
| @@ -89,6 +89,12 @@ class FakeAudioDevice : public FakeAudioDeviceModule {
|
| static std::unique_ptr<Renderer> CreateWavFileWriter(
|
| std::string filename, int sampling_frequency_in_hz);
|
|
|
| + // Returns a Renderer instance that writes its data to a WAV file, cutting
|
| + // off silence at the beginning (not necessarily perfect silence, see
|
| + // kAmplitudeThreshold) and at the end (only actual 0 samples in this case).
|
| + static std::unique_ptr<Renderer> CreateBoundedWavFileWriter(
|
| + std::string filename, int sampling_frequency_in_hz);
|
| +
|
| // Returns a Renderer instance that does nothing with the audio data.
|
| static std::unique_ptr<Renderer> CreateDiscardRenderer(
|
| int sampling_frequency_in_hz);
|
|
|