Repository navigation
chore: upgrade dotlottie-rs to 02a61130, add wav/flac/ogg/m4a audio - #148
Merged
Merged
Conversation
cpal 0.16 (pulled in by rodio 0.21) replaced oboe with AAudio, which the NDK only ships for API 26+, so libdotlottie_player.so no longer linked at API 21. Each ABI now links a static libaaudio.a generated from the NDK's AAudio.h: every entry point forwards to the real libaaudio.so through dlopen/dlsym on first use. On Android 8+ calls reach the system library; on older devices they return AAUDIO_ERROR_UNAVAILABLE and rodio reports no output device, so the animation plays silently instead of the library failing to load.
Bump deps/dotlottie-rs from v0.1.60 to 02a61130 (main after #623). This brings rodio 0.21 with the audio-wav, audio-flac, audio-ogg and audio-m4a features, the audio volume left-channel fix, typed bezier path slot setters and the state machine forward-compat fixes. Enable the four decoder features in the Gradle plugin defaults, the dotlottieRust block and make/android.mk, rebuild all four ABIs, and bump the version to 0.18.0.
|
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
deps/dotlottie-rsfrom v0.1.60 to 02a61130 (main after #623) and rebuilds all four ABIs.Audio
audio-wav,audio-flac,audio-oggandaudio-m4aalongside the existingaudio(MP3) feature, matching dotlottie-web.minSdk = 21, each ABI links a generatedlibaaudio.a(make/aaudio-shim/) whose entry points dlopen the reallibaaudio.soon first use.libdotlottie_player.sono longer haslibaaudio.so,libOpenSLES.soorliblog.soasDT_NEEDED; on Android 7 and below rodio finds no output device and the animation plays silently.Also in the bump
Sizes (libdotlottie_player.so, stripped): arm64-v8a 2.67 → 3.56 MB, armeabi-v7a 2.20 → 3.05 MB, x86_64 2.87 → 3.84 MB, x86 2.92 → 3.98 MB. The growth is the symphonia FLAC/Vorbis/ISO-MP4/AAC decoders.
Version bumped to 0.18.0.