martoreto / opuscodec Goto Github PK
View Code? Open in Web Editor NEWOpus Audio Codec for Android
Opus Audio Codec for Android
java.lang.UnsatisfiedLinkError: dlopen failed: library "libsenz.so" not found
Got a crash when trying to init encoder on x86 emulator:
04-16 05:49:12.448 20393-20393/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.018/4662058:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
pid: 20319, tid: 20319, name: *** >>> *** <<<
signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0xcfe16825
eax cfe65c18 ebx cfe65c18 ecx cd6ab514 edx 00000070
esi 00000003 edi cd6ab514
xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b
eip cfe16825 ebp ffe4a518 esp ffe4a518 flags 00010296
04-16 05:49:12.449 20393-20393/? A/DEBUG: backtrace:
#00 pc 00011825 /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/lib/x86/libsenz.so (silk_VAD_Init+21)
#1 pc 00015d6a /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/lib/x86/libsenz.so (silk_init_encoder+106)
#2 pc 000096a9 /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/lib/x86/libsenz.so (silk_InitEncoder+57)
04-16 05:49:12.450 20393-20393/? A/DEBUG: #3 pc 00043b64 /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/lib/x86/libsenz.so (opus_encoder_init+340)
#4 pc 0005251f /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/lib/x86/libsenz.so (Java_com_score_rahasak_utils_OpusEncoder_nativeInitEncoder+63)
#5 pc 0001e6e8 /data/app/-O5Bd1zQWVx2i8Lx1uydXsg==/oat/x86/base.odex (offset 0x1e000)
#6 pc 000d8fff [anon:libc_malloc:e9000000]
#7 pc 0000bb7f
Support for 64bit workaround would be great because play market will restrict apps which supports only 32bit platform since 2019
I copied the libs in x86 issue in my jniLibs folder, copied your source files , compiled and added them in my code
However I get this error. Any idea why its not reading the functions inside so or am i missing some files?
: : app_package fatal error : No implementation found for int app_package.widgets.recorder.OpusEncoder.nativeInitEncoder(int, int, int) (tried Java_app_package_widgets_recorder_OpusEncoder_nativeInitEncoder and Java_app_package_widgets_recorder_OpusEncoder_nativeInitEncoder__III)
java.lang.UnsatisfiedLinkError: No implementation found for int app_package.widgets.recorder.OpusEncoder.nativeInitEncoder(int, int, int) (tried Java_app_package_widgets_recorder_OpusEncoder_nativeInitEncoder and Java_app_package_widgets_recorder_OpusEncoder_nativeInitEncoder__III)
at app_package.widgets.recorder.OpusEncoder.nativeInitEncoder(Native Method)
at app_package.widgets.recorder.OpusEncoder.init(OpusEncoder.java:46)
at app_package.widgets.recorder.AudioThread.run(AudioThread.java:67)
ndk-build will fail, when building x86 biquad_alt_neon_intr.c
android/sdk/ndk/20.0.5594570/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/8.0.7/include/arm_neon.h:28:2: error:
"NEON support not enabled"
#error "NEON support not enabled"
Hello.
Could you please tell me, how I can build a jar from your sources?
First of all want to know, how can build native part.
I ran an audit of all the open source libraries that we are currently using in our projects. Noticed that no open source licenses are published on this repo? Would it be possible to add one to your project?
I would use this, but I need to know what license it's under. Can you add an open source LICENSE
file? I'd recommend Creative Commons as that is what Opus uses.
I am getting this error while trying to build. Can you tell me why am I getting this error??
I am trying to use this lib in my project and because of having Split armeabi-v7a and arm64-v8a in my Gradle for my other native codes, on runtime I get this exception that arm64-v8a version of "libsenz.so" doesn't exist.
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.germanautolabs.chris.cat.debug-_Xw4yLcz0YgVU2VJPo4ITQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.germanautolabs.chris.cat.debug-_Xw4yLcz0YgVU2VJPo4ITQ==/lib/arm64, /data/app/com.germanautolabs.chris.cat.debug-_Xw4yLcz0YgVU2VJPo4ITQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn't find "libsenz.so"
I unzipped the AAR file of opuscodec:v1.2.1.2
file and there is only armeabi-v7a, x86 and x86_64.
How much is a chance that you publish a version including arm64-v8a?
FYI, Google play is pushing apps to use arm64-v8a instead of armeabi-v7a!
It would be great if library could create *.opus file with headers, comments, granules and other stuff
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.