summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples/pcaputil.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-10-14 04:15:15 +0000
committerBenny Prijono <bennylp@teluu.com>2011-10-14 04:15:15 +0000
commitde1679edb534fafe595aa0dbcfd41086c4d51277 (patch)
tree30eeab4eb7bc03d6a8037202b12acef71ff82180 /pjsip-apps/src/samples/pcaputil.c
parentd3f073e11620f76da99dd660356c3094c13cd810 (diff)
Committing re #1388: Support for OpenCORE AMR-NB codec (thank you Dan Arrhenius for the contribution!)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3816 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/pcaputil.c')
-rw-r--r--pjsip-apps/src/samples/pcaputil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip-apps/src/samples/pcaputil.c b/pjsip-apps/src/samples/pcaputil.c
index 01c87129..ff4403d3 100644
--- a/pjsip-apps/src/samples/pcaputil.c
+++ b/pjsip-apps/src/samples/pcaputil.c
@@ -305,6 +305,10 @@ static void pcap2wav(const pj_str_t *codec,
T( pjmedia_codec_l16_init(app.mept, 0) );
#endif /* PJMEDIA_HAS_L16_CODEC */
+#if PJMEDIA_HAS_OPENCORE_AMRNB_CODEC
+ T( pjmedia_codec_opencore_amrnb_init(app.mept) );
+#endif /* PJMEDIA_HAS_L16_CODEC */
+
#if PJMEDIA_HAS_INTEL_IPP
T( pjmedia_codec_ipp_init(app.mept) );
#endif