Refine the error handling made in rev2373
Review URL: https://webrtc-codereview.appspot.com/644005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2421 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
67f256fab4
commit
dfa6b697e2
@ -1193,8 +1193,7 @@ CWinTestDlg::CWinTestDlg(CWnd* pParent /*=NULL*/)
|
||||
|
||||
std::string resource_path = webrtc::test::ProjectRootPath();
|
||||
if (resource_path == webrtc::test::kCannotFindProjectRootDir) {
|
||||
// Rollback to relative path to the location of 'voice_engine.gyp'.
|
||||
_long_audio_file_path = "../../data/voice_engine/";
|
||||
_long_audio_file_path = "./";
|
||||
} else {
|
||||
_long_audio_file_path = resource_path + "data\\voice_engine\\";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user