AMR_DIR=$(switch_srcdir)/libs/amr
AMR_BUILDDIR=$(switch_builddir)/libs/amr
AMR_A=$(AMR_BUILDDIR)/libamr.a
LOCAL_INSERT_CFLAGS=if test -d $(AMR_DIR); then echo "-I$(AMR_DIR)" ; else echo "-DAMR_PASSTHROUGH" ; fi ;
LOCAL_INSERT_LDFLAGS=test ! -d $(AMR_DIR) || echo "$(AMR_A)";
if you put the correct lib in libs/amr and build it then build the module, it should work.
your looking for a lib with these header files:
#include "interf_enc.h"
#include "interf_dec.h"
we do not distribute or provide any licensing for this library, so you will need to arrange that on your own.
Mike
What exactly would you be 'testing' though? There's no licensed version of the module available yet.
From the Wiki:
Licensing is being worked on and FreeSWITCH™ may be able to offer licensing terms in the future for this module.
If you're interested in a transcoding version of the AMR codec for production use I'd suggest you contact the core developers to either put your name down for how many licenses you'd be interested in, or raise a bounty (like happened with G729).
-Steve
On 14 January 2013 13:04, Luis Azedo
<luis.azedo@factorlusitano.com> wrote:
Hi,
is there any way to enable mod_amr with transcoding for testing purposes ?
maybe with opencore-amr ?
thanks