Minamp 1.10: read the next track ahead; log to logcat too

On weak Wi-Fi shared with Bluetooth audio, Android 2.x's player (a few seconds
of stream buffer) ran dry and went silent for 6-7 s at a time; the speaker then
sometimes hung up. While a track plays, the next one is fetched whole (Wi-Fi
only) and played from the file. DiagLog lines also go to logcat (tag Minamp).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
XoséandClaude Opus 5.5 committed 2026-10-18 15:25:54 +02:00
1 parent 9aaeb57c87
commit 29ed836b4c
3 files changed
+100 -4

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ public final class DiagLog {
private DiagLog() {}
public static void log(String msg) {
android.util.Log.i("Minamp", msg); // also in logcat: readable over USB after the fact
String line;
synchronized (fmt) { line = fmt.format(new Date()) + " " + msg; }
synchronized (lines) {