Merge branch 'main' of git.rcmd.space:tiredsysadmin/sizzletracker-android

This commit is contained in:
Reactorcoremeltdown
2026-11-18 10:37:34 +01:00
46 changed files with 818 additions and 191 deletions
+33
View File
@@ -7,7 +7,40 @@ one feature set; the iOS side of each version is in `ios/CHANGELOG.md`.
## 0.41.1 (versionCode 77)
<<<<<<< HEAD
- No Android change: an iOS redraw fix (see `ios/CHANGELOG.md`).
=======
Housekeeping and speed; nothing you can see changes, except that the app is
half the size and lighter on the battery.
- **The APK is half as big** — 21.5 MB → 10.1 MB. Release builds now go through
R8 (shrink, optimise, obfuscate, and drop unused resources), which throws away
the Compose and Material icon code the app never calls. Only the two JNI
classes are pinned by name (`app/proguard-rules.pro`), because the native
library looks them up at runtime; `make dist` keeps the de-obfuscation map next
to the APK so a crash report from a published build can still be read.
- **Less battery while a song is stopped.** The thread that feeds the transport
display polled the engine 100 times a second whatever was happening; it now
does that only while the song plays or a recording is armed, and waits 100 ms a
turn otherwise. Pressing Play still moves the playhead in the same frame — a
transport call wakes it. iOS does the same (30 Hz playing, 10 Hz stopped).
- **Smoother editing.** Every edit hands the engine the whole song as text. That
text is now built in one pre-sized pass instead of a string per line, and a
burst of edits — dragging a note column, sweeping a knob — is collected into
one sync instead of one per touch event.
- **The mixer costs less per sample.** Channel volume, mute/solo and the effect
chain are read once per audio block rather than once per frame, in the shared
C++ engine (so iOS gets it too). Bit-for-bit the same audio: all 61 reference
scenarios still match the Kotlin DSP.
- **Dead code gone.** The Kotlin DSP that `core/` replaced in 0.37.0 was still
compiled into every APK although nothing called it; it has moved to the test
source set, where it belongs as the reference the C++ is checked against. The
golden tests' `TestVoice` wrappers left the shared engine's sources for the
same reason, and a handful of unused declarations are gone.
- Fix: `make lint` failed on a manifest that asked for `ACCESS_FINE_LOCATION`
without `ACCESS_COARSE_LOCATION` (the BLE MIDI scan on Android 8–11). Both are
declared and both are requested now, so `make check` passes again.
>>>>>>> c1758637df9651f2c6a4ef6296509acb9d774186
## 0.41.0 (versionCode 76)