diff options
author | Liong Sauw Ming <ming@teluu.com> | 2012-04-24 07:38:41 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2012-04-24 07:38:41 +0000 |
commit | 4a1a62eeeaeff0ed21f856d1955925bcc4d916aa (patch) | |
tree | 64718fa293fe98e954638bca3891f10e0a25660e /pjsip-apps | |
parent | 2db9d089de673881d22d091b2dea3b7dcafa0eca (diff) |
Re #1417 (misc): Fixed output path for AEC test for iOS support.
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4074 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/pjsystest/systest.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pjsip-apps/src/pjsystest/systest.c b/pjsip-apps/src/pjsystest/systest.c index f06ed8d6..3469ad27 100644 --- a/pjsip-apps/src/pjsystest/systest.c +++ b/pjsip-apps/src/pjsystest/systest.c @@ -966,8 +966,9 @@ static void systest_aec_test(void) goto on_return; } - status = pjsua_recorder_create(pj_cstr(&tmp, AEC_REC_PATH), 0, 0, -1, - 0, &writer_id); + status = pjsua_recorder_create( + pj_cstr(&tmp, add_path(doc_path, AEC_REC_PATH)), 0, 0, -1, + 0, &writer_id); if (status != PJ_SUCCESS) { PJ_PERROR(1,(THIS_FILE, status, "Error writing WAV file %s", AEC_REC_PATH)); @@ -998,7 +999,9 @@ static void systest_aec_test(void) /* * Play the result. */ - status = pjsua_player_create(pj_cstr(&tmp, AEC_REC_PATH), 0, &player_id); + status = pjsua_player_create( + pj_cstr(&tmp, add_path(doc_path, AEC_REC_PATH)), + 0, &player_id); if (status != PJ_SUCCESS) { PJ_PERROR(1,(THIS_FILE, status, "Error opening WAV file %s", AEC_REC_PATH)); goto on_return; |