From 510c1e36fead969874d353879ee77bc81cfb9dec Mon Sep 17 00:00:00 2001 From: "leozwang@webrtc.org" Date: Tue, 21 Aug 2012 15:17:12 +0000 Subject: [PATCH] Read ptypes.txt from /sdcard on android BUG= TEST=local Review URL: https://webrtc-codereview.appspot.com/733011 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2648 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/audio_coding/neteq/test/NetEqRTPplay.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/audio_coding/neteq/test/NetEqRTPplay.cc b/src/modules/audio_coding/neteq/test/NetEqRTPplay.cc index 339dffbbb4..cb03baf47b 100644 --- a/src/modules/audio_coding/neteq/test/NetEqRTPplay.cc +++ b/src/modules/audio_coding/neteq/test/NetEqRTPplay.cc @@ -357,6 +357,8 @@ int main(int argc, char* argv[]) #ifdef WIN32 _splitpath(argv[0],outdrive,outpath,outfile,outext); _makepath(ptypesfile,outdrive,outpath,"ptypes","txt"); +#elif defined(WEBRTC_ANDROID) + strcpy(ptypesfile, "/sdcard/ptypes.txt"); #else // TODO(hlundin): Include path to ptypes, as for WIN32 above. strcpy(ptypesfile, "ptypes.txt");