0

I want to use opencore-amr native code in android jni.

but i don't know how to write Android.mk file.

can anyone tell me how?

I want to call the following function in opencore-amr lib:

AMREncodeInit

AMREncode

AMREncodeExit

I download opencore-amr from http://sourceforge.net/projects/opencore-amr/files/opencore-amr/

Community
  • 1
  • 1
kvh
  • 2,118
  • 19
  • 29

2 Answers2

1

After a period of time, I figure it out myself: See this project in github:

opencore-amr-Android

I make a wrapper and build it with NDK

kvh
  • 2,118
  • 19
  • 29
1

See make amr and make vo-amrwbenc in https://github.com/juha-h/libbaresip-android Makefile.

kk.
  • 3,747
  • 12
  • 36
  • 67
Juha
  • 349
  • 2
  • 11