Chromium Code Reviews| 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..677145e1a9a81f287ff9328accb0cfe6f37cd211 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 file a WAV file, |
|
stefan-webrtc
2017/03/20 14:40:10
"to a WAV file"
oprypin_webrtc
2017/03/20 15:09:16
Done.
|
| + // 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); |