mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Add silk pluging support (stock + Android).
This commit is contained in:
parent
fba3a2e441
commit
65dc7621f4
3 changed files with 13 additions and 1 deletions
|
|
@ -73,6 +73,7 @@ ifeq ($(BUILD_X264),1)
|
|||
LOCAL_CFLAGS += -DHAVE_X264
|
||||
endif
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(LOCAL_PATH) \
|
||||
$(LOCAL_PATH)/include \
|
||||
|
|
@ -102,6 +103,11 @@ LOCAL_STATIC_LIBRARIES += \
|
|||
libopencoreamr
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_SILK),1)
|
||||
LOCAL_CFLAGS += -DHAVE_SILK
|
||||
LOCAL_STATIC_LIBRARIES += libmssilk
|
||||
endif
|
||||
|
||||
ifeq ($(LINPHONE_VIDEO),1)
|
||||
LOCAL_LDLIBS += -lGLESv2
|
||||
LOCAL_STATIC_LIBRARIES += libvpx
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ extern "C" void libmsx264_init();
|
|||
#ifdef HAVE_AMR
|
||||
extern "C" void libmsamr_init();
|
||||
#endif
|
||||
#ifdef HAVE_SILK
|
||||
extern "C" void libmssilk_init();
|
||||
#endif
|
||||
#endif /*ANDROID*/
|
||||
|
||||
static JavaVM *jvm=0;
|
||||
|
|
@ -405,6 +408,9 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_newLinphoneCore(JNIEnv*
|
|||
#endif
|
||||
#ifdef HAVE_AMR
|
||||
libmsamr_init();
|
||||
#endif
|
||||
#ifdef HAVE_SILK
|
||||
libmssilk_init();
|
||||
#endif
|
||||
jlong nativePtr = (jlong)linphone_core_new( &ldata->vTable
|
||||
,userConfig
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 2befd4c69cda862f32b1b7ee42db2a8606bae3b7
|
||||
Subproject commit eb538cd19f9ee0a9da7669b1a439f81014180981
|
||||
Loading…
Add table
Reference in a new issue