FAQ Database Discussion Community

Objective-C callback block for BASS FX [closed]

I'm trying to use the audio library BASS in my application. I'm trying to use a method which triggers a callback when it detects a beat in the music. This is my current code: void* (^myBlock)(DWORD, double, void *) = ^(DWORD handle, double time, void *user) { return nil; };...

Trouble with loading .so library

I have an android project (Inellij IDEA). I've download BASS library from official site and copied content from lib folder to my project folder libs/. But when I try to load it with System.loadLibrary("bass");, it throws an error: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.negi.opengltest-1/base.apk"],nativeLibraryDirectories= [/vendor/lib, /system/lib]]] couldn't find "libbass.so" What am I...