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

Unified Diff: webrtc/test/call_test.cc

Issue 2717623003: Add the ability to read/write to WAV files in FakeAudioDevice (Closed)
Patch Set: Avoid repetition when checking sample rate Created 3 years, 9 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
« no previous file with comments | « webrtc/test/DEPS ('k') | webrtc/test/fake_audio_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/call_test.cc
diff --git a/webrtc/test/call_test.cc b/webrtc/test/call_test.cc
index 68d6857e29d7208d85a8af114227b5fb951b25f9..f7750f48188c6bdb5822dfd2932f68bfc8e0068b 100644
--- a/webrtc/test/call_test.cc
+++ b/webrtc/test/call_test.cc
@@ -299,8 +299,10 @@ void CallTest::CreateFrameGeneratorCapturer(int framerate,
}
void CallTest::CreateFakeAudioDevices() {
- fake_send_audio_device_.reset(new FakeAudioDevice(1.f, 48000, 256));
- fake_recv_audio_device_.reset(new FakeAudioDevice(1.f, 48000, 256));
+ fake_send_audio_device_.reset(new FakeAudioDevice(
+ FakeAudioDevice::CreatePulsedNoiseCapturer(256, 48000), nullptr, 1.f));
+ fake_recv_audio_device_.reset(new FakeAudioDevice(
+ nullptr, FakeAudioDevice::CreateDiscardRenderer(48000), 1.f));
}
void CallTest::CreateVideoStreams() {
« no previous file with comments | « webrtc/test/DEPS ('k') | webrtc/test/fake_audio_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698