forked from mirrors/linphone-iphone
g729 integration for Android
This commit is contained in:
parent
f1933983b8
commit
5732fcea54
2 changed files with 12 additions and 0 deletions
|
|
@ -132,6 +132,12 @@ LOCAL_CFLAGS += -DHAVE_SILK
|
|||
LOCAL_STATIC_LIBRARIES += libmssilk
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_G729),1)
|
||||
LOCAL_CFLAGS += -DHAVE_G729
|
||||
LOCAL_SHARED_LIBRARIES += libbcg729
|
||||
LOCAL_STATIC_LIBRARIES += libmsbcg729
|
||||
endif
|
||||
|
||||
ifeq ($(LINPHONE_VIDEO),1)
|
||||
LOCAL_LDLIBS += -lGLESv2
|
||||
LOCAL_STATIC_LIBRARIES += libvpx
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ extern "C" void libmsamr_init();
|
|||
#ifdef HAVE_SILK
|
||||
extern "C" void libmssilk_init();
|
||||
#endif
|
||||
#ifdef HAVE_G729
|
||||
extern "C" void libmsbcg729_init();
|
||||
#endif
|
||||
#endif /*ANDROID*/
|
||||
|
||||
static JavaVM *jvm=0;
|
||||
|
|
@ -415,6 +418,9 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_newLinphoneCore(JNIEnv*
|
|||
#endif
|
||||
#ifdef HAVE_SILK
|
||||
libmssilk_init();
|
||||
#endif
|
||||
#ifdef HAVE_G729
|
||||
libmsbcg729_init();
|
||||
#endif
|
||||
jlong nativePtr = (jlong)linphone_core_new( &ldata->vTable
|
||||
,userConfig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue