Shirakumo / cl-mixed

A simple audio mixing and processing library based on libmixed.
https://shirakumo.github.io/cl-mixed/
zlib License
22 stars 7 forks source link

libmixed.so built for android #13

Closed Gleefre closed 1 year ago

Gleefre commented 1 year ago

Hello!

I have built the libmixed, you can find it here: https://github.com/Gleefre/android-build-libmixed/releases/tag/draft-build I'm not sure if all the libraries were built properly, so I've attached build logs.

I am not sure how exactly to place them though, since there are 4 officially supported to this moment CPU architectures for android. So I'll leave it to you.

I also have only tested the arm64-v8a and x86_64 versions of the library.

Have a nice day :)

Shinmera commented 1 year ago

Included as per 0f4260b

Gleefre commented 1 year ago

Hm, was this supposed to replace lin-arm64-libmixed.so? Also, why not to create a separate :android section in definition of the library.

Gleefre commented 1 year ago

I have open a PR https://github.com/Shirakumo/cl-mixed/pull/15 .

Shinmera commented 1 year ago

Android is based on linux, and the libraries only depend on glibc, so there shouldn't be a need for a separate branch or release.

Gleefre commented 1 year ago

I don't know technical details, but android is only based on linux. Android libraries / libux libraries are not compatible. Currently I get this on x86_64 emulator:

Unable to load any of the alternatives:
   ("libmixed.so.2" "libmixed2.so" "libmixed.so"
    "lin-amd64-libmixed.so")
   [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]
Shinmera commented 1 year ago

Hrm, that's quite annoying.