Skip to content

Commit

Permalink
ADM no longer reads PCM files from data/audio_device. Now uses the re…
Browse files Browse the repository at this point in the history
…source folder instead.

BUG=737

Review URL: https://webrtc-codereview.appspot.com/714012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2643 4adac7df-926f-26a2-2b94-8c16560cd09d
  • Loading branch information
henrika@webrtc.org committed Aug 20, 2012
1 parent 6f90983 commit 3994e03
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Binary file removed data/audio_device/audio_short16.pcm
Binary file not shown.
Binary file removed data/audio_device/audio_short44.pcm
Binary file not shown.
Binary file removed data/audio_device/audio_short48.pcm
Binary file not shown.
Binary file removed data/audio_device/audio_short8.pcm
Binary file not shown.
15 changes: 8 additions & 7 deletions src/modules/audio_device/main/test/func_test_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -557,18 +557,19 @@ WebRtc_Word32 AudioTransportImpl::NeedMorePlayData(
}

FuncTestManager::FuncTestManager() :
_resourcePath(webrtc::test::ProjectRootPath() +
"data/audio_device/"),
_processThread(NULL),
_audioDevice(NULL),
_audioEventObserver(NULL),
_audioTransport(NULL)
{
assert(!_resourcePath.empty());
_playoutFile48 = _resourcePath + "audio_short48.pcm";
_playoutFile44 = _resourcePath + "audio_short44.pcm";
_playoutFile16 = _resourcePath + "audio_short16.pcm";
_playoutFile8 = _resourcePath + "audio_short8.pcm";
_playoutFile48 = webrtc::test::ResourcePath("audio_device\\audio_short48",
"pcm");
_playoutFile44 = webrtc::test::ResourcePath("audio_device\\audio_short44",
"pcm");
_playoutFile16 = webrtc::test::ResourcePath("audio_device\\audio_short16",
"pcm");
_playoutFile8 = webrtc::test::ResourcePath("audio_device\\audio_short8",
"pcm");
}

FuncTestManager::~FuncTestManager()
Expand Down
1 change: 0 additions & 1 deletion src/modules/audio_device/main/test/func_test_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ class FuncTestManager
WebRtc_Word32 TestAdvancedMBAPI();
private:
// Paths to where the resource files to be used for this test are located.
std::string _resourcePath;
std::string _playoutFile48;
std::string _playoutFile44;
std::string _playoutFile16;
Expand Down

0 comments on commit 3994e03

Please sign in to comment.