The Android libmpv.so has DT_NEEDED entries for libavcodec, libavfilter,
libavformat, libavutil, libswresample, libswscale and libavdevice, but
the app only carried libmpv.so, libjoc_core.so and libc++_shared.so, so
the linker rejected libmpv at dlopen time and the player crashed on
every file.
Copy every shared object from the cross-build prefix into the app's
libs/<abi> directory, and into the standalone library artifact too,
instead of naming the three files.
The arm64 job stopped at the three shared libraries, so the only way to
use them was to build a player around them. Let the libraries go into
mpv-android's jniLibs and let Gradle assemble and sign the app instead.
- copy libmpv.so, libjoc_core.so and libc++_shared.so into
app/src/main/jniLibs/arm64-v8a
- locate the SDK under buildscripts/sdk, accept its licences, and link
the unpacked NDK where AGP looks for it
- run assembleRelease with a throwaway injected signing key, so the APK
installs without repository secrets
- verify the signature when apksigner is available and upload the APK as
mpv-joc-android-arm64-v8a-apk, keeping the bare libraries as before
- cache the Gradle home between runs
- document the artifact and how to pass the ad_joc options
Checked locally: the workflow parses and every shell block passes
bash -n; the Gradle build itself needs a CI run.
The kernel can now render the Rosella path through either bank; expose
that choice in both front ends with the same values and the same
default.
- plugin: joc-rosella-filterbank = 1|2 (public|captured); unset means
the kernel default (the public bank), and it applies only to
joc-hrtf-source=rosella, logging a warning otherwise
- fork: --ad-joc-rosella-filterbank, the same values and default; it
sits in the ad_joc option group, so it is read only when ad_joc
decodes a Rosella model
- log the bank actually selected (public|captured) on both paths
- add a bank-2 case to tools/verify_parity.ps1
- document the key in both READMEs and the example config
Checked: the plugin builds, the option parser covers the numeric and
named spellings plus invalid values, and for both banks the plugin's
PCM is bit-identical to joc_cli with --rosella-filterbank 1|2.
The kernel replaced the reserved words with rosella_filterbank and
bumped the task config version to 4; joc_task_config and
joc_stream_config keep their sizes, so the ABI stays compatible.
- Update third_party/joc/include/joc_core.h and joc_stream.h
- Update the copies ad_joc compiles against in
fork/files/audio/decode/
tools/verify_kernel.ps1 reports the public headers byte-identical to
the upstream checkout.