mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user