Index: webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc |
diff --git a/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc b/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc |
index 34e2bb0fbdf1213c0a7682c7e05193500939e4f7..c3dba8397912596b920888f4df6fa8ea063d8261 100644 |
--- a/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc |
+++ b/webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.cc |
@@ -8,6 +8,7 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include "webrtc/test/testsupport/fileutils.h" |
#include "webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h" |
BeforeStreamingFixture::BeforeStreamingFixture() |
@@ -15,8 +16,8 @@ BeforeStreamingFixture::BeforeStreamingFixture() |
transport_(NULL) { |
EXPECT_GE(channel_, 0); |
- fake_microphone_input_file_ = resource_manager_.long_audio_file_path(); |
- EXPECT_FALSE(fake_microphone_input_file_.empty()); |
+ fake_microphone_input_file_ = |
+ webrtc::test::ResourcePath("voice_engine/audio_long16", "pcm"); |
SetUpLocalPlayback(); |
RestartFakeMicrophone(); |