An opencore amr codec JNI wrapper with explaination