diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-04-24 13:09:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-04-24 13:09:14 +0000 |
commit | 89725b879f66d567431a9069cc6012be00c1788a (patch) | |
tree | 4ae5d29c5cccd9dc7bebccadd12afd4597fa7443 /pjsip-apps/src | |
parent | 2159a188c2108d9d3c638181c173935c7b060d26 (diff) |
Re #1474: merged r4054-r4079
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src')
-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 892deeff..0ee08b67 100644 --- a/pjsip-apps/src/pjsystest/systest.c +++ b/pjsip-apps/src/pjsystest/systest.c @@ -967,8 +967,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)); @@ -999,7 +1000,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; |