mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Rename Lib Opus in ExoV2 to avoid the namespace collision between ExoV1 and ExoV2's version of libopusJNI.so
PiperOrigin-RevId: 241359424
This commit is contained in:
parent
e612511afc
commit
e8b0d489eb
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ public final class OpusLibrary {
|
||||||
ExoPlayerLibraryInfo.registerModule("goog.exo.opus");
|
ExoPlayerLibraryInfo.registerModule("goog.exo.opus");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final LibraryLoader LOADER = new LibraryLoader("opusJNI");
|
private static final LibraryLoader LOADER = new LibraryLoader("opusV2JNI");
|
||||||
|
|
||||||
private OpusLibrary() {}
|
private OpusLibrary() {}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@ include $(CLEAR_VARS)
|
||||||
LOCAL_PATH := $(WORKING_DIR)
|
LOCAL_PATH := $(WORKING_DIR)
|
||||||
include libopus.mk
|
include libopus.mk
|
||||||
|
|
||||||
# build libopusJNI.so
|
# build libopusV2JNI.so
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_PATH := $(WORKING_DIR)
|
LOCAL_PATH := $(WORKING_DIR)
|
||||||
LOCAL_MODULE := libopusJNI
|
LOCAL_MODULE := libopusV2JNI
|
||||||
LOCAL_ARM_MODE := arm
|
LOCAL_ARM_MODE := arm
|
||||||
LOCAL_CPP_EXTENSION := .cc
|
LOCAL_CPP_EXTENSION := .cc
|
||||||
LOCAL_SRC_FILES := opus_jni.cc
|
LOCAL_SRC_FILES := opus_jni.cc
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue