diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-01-29 08:09:15 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-01-29 08:09:15 +0000 |
commit | 064af246091c9d6475dcdd742b0abf0c3d1a07d8 (patch) | |
tree | 3e79ea209c9e36ea41f4d42d8f22aef227c753a0 /pjmedia/src/test/mips_test.c | |
parent | c3814751455d7cfcb854970344e952f0a88ba4d9 (diff) |
Re #1608: Fixed the way codec is initialized, enumerated, and deinit since both NB and WB use the same factory
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4335 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/mips_test.c')
-rw-r--r-- | pjmedia/src/test/mips_test.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pjmedia/src/test/mips_test.c b/pjmedia/src/test/mips_test.c index 933b9b3b..9c586cc1 100644 --- a/pjmedia/src/test/mips_test.c +++ b/pjmedia/src/test/mips_test.c @@ -953,8 +953,8 @@ static pjmedia_port* amrwb_encode_decode(pj_pool_t *pool, struct test_entry *te) { return codec_encode_decode(pool, "AMR/16000", - &pjmedia_codec_opencore_amrwb_init, - &pjmedia_codec_opencore_amrwb_deinit, + &pjmedia_codec_opencore_amr_init_default, + &pjmedia_codec_opencore_amr_deinit, clock_rate, channel_count, samples_per_frame, flags, te); } @@ -2052,8 +2052,9 @@ static pjmedia_port* create_stream_amrwb( pj_pool_t *pool, unsigned flags, struct test_entry *te) { - return create_stream(pool, "AMR/16000", &pjmedia_codec_opencore_amrwb_init, - &pjmedia_codec_opencore_amrwb_deinit, + return create_stream(pool, "AMR/16000", + &pjmedia_codec_opencore_amr_init_default, + &pjmedia_codec_opencore_amr_deinit, PJ_FALSE, PJ_FALSE, PJ_FALSE, clock_rate, channel_count, samples_per_frame, flags, te); |