Start paused, respect pause state on next-tape, quiet joystick log
Player was autoplaying on startup and on file switch. Now switch_file() preserves the current paused state so the app launches paused and "next tape" only continues playing if already playing. Joystick name printf moved behind --debug flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
| Version | 1.0 |
|
||||
| Status | Draft |
|
||||
| Created | 2026-02-10 |
|
||||
| Updated | 2026-02-10 |
|
||||
| Updated | 2026-02-13 |
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
@@ -43,6 +43,12 @@ This document specifies the functional requirements for an SDL2 based media play
|
||||
|
||||
## 6. Changelog
|
||||
|
||||
### 2026-02-13 — Start paused, fix next-tape autoplay, quiet joystick log
|
||||
|
||||
- **Start paused**: The player no longer autoplays on startup; it opens the last file at the saved position but waits for the user to press Play.
|
||||
- **Next tape respects pause state**: `switch_file()` no longer forces playback. Pressing "next tape" while paused switches the file and stays paused; pressing it while playing switches and continues playing.
|
||||
- **Joystick log behind --debug**: The "Joystick: ..." message is now only printed when `--debug` is passed.
|
||||
|
||||
### 2026-02-13 — arm64 Docker build container
|
||||
|
||||
- **New build container**: Replaced the broken Buildroot cross-compilation toolchain (`docker/`) with an arm64 Ubuntu 22.04 Docker container (`docker-arm64/`). Runs via QEMU user-mode emulation on x86 hosts and matches the target device exactly (same distro, same glibc, same library versions). The project's native `make` works as-is inside the container — no cross-compilation flags needed.
|
||||
|
||||
Reference in New Issue
Block a user