Compare commits
2 Commits
25824d4728
...
02ab142d96
| Author | SHA1 | Date | |
|---|---|---|---|
| 02ab142d96 | |||
| a5e3a0c522 |
@ -17,7 +17,7 @@ See `docs/rg35xx-plus.md` for target device details, boot chain, and deployment.
|
|||||||
```sh
|
```sh
|
||||||
make # native build — uses pkg-config
|
make # native build — uses pkg-config
|
||||||
make clean # remove build artifacts
|
make clean # remove build artifacts
|
||||||
./build/sdlamp2 [audio_directory]
|
./build/sdlamp2 audio # run with the repo's audio directory
|
||||||
```
|
```
|
||||||
|
|
||||||
Building for the arm64 target device via the Docker container (from the `docker-arm64/` directory):
|
Building for the arm64 target device via the Docker container (from the `docker-arm64/` directory):
|
||||||
|
|||||||
@ -43,6 +43,11 @@ This document specifies the functional requirements for an SDL2 based media play
|
|||||||
|
|
||||||
## 6. Changelog
|
## 6. Changelog
|
||||||
|
|
||||||
|
### 2026-02-14 — Softer background, remove panel divider
|
||||||
|
|
||||||
|
- **Background color**: Changed from white (`#FFFFFF`) to a medium gray (`#979797`) for a gentler appearance.
|
||||||
|
- **Remove divider**: Removed the vertical separator line between the controls panel and the album art.
|
||||||
|
|
||||||
### 2026-02-14 — Fix residual audio on cassette switch
|
### 2026-02-14 — Fix residual audio on cassette switch
|
||||||
|
|
||||||
- **Clear device queue on switch**: `switch_file()` now calls `SDL_ClearQueuedAudio()` after pausing the audio device, preventing a brief snippet of the previous cassette from playing when the new one starts.
|
- **Clear device queue on switch**: `switch_file()` now calls `SDL_ClearQueuedAudio()` after pausing the audio device, preventing a brief snippet of the previous cassette from playing when the new one starts.
|
||||||
|
|||||||
@ -915,7 +915,7 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* --- Rendering --- */
|
/* --- Rendering --- */
|
||||||
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0xFF);
|
SDL_SetRenderDrawColor(renderer, 0x97, 0x97, 0x97, 0xFF);
|
||||||
SDL_RenderClear(renderer);
|
SDL_RenderClear(renderer);
|
||||||
|
|
||||||
/* Album art (right panel, centered, aspect-preserving) */
|
/* Album art (right panel, centered, aspect-preserving) */
|
||||||
@ -949,10 +949,6 @@ int main(int argc, char** argv) {
|
|||||||
SDL_RenderFillRect(renderer, &fill);
|
SDL_RenderFillRect(renderer, &fill);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Separator line between left panel and right panel */
|
|
||||||
SDL_SetRenderDrawColor(renderer, 0xC0, 0xC0, 0xC0, 0xFF);
|
|
||||||
SDL_RenderDrawLine(renderer, 200, 10, 200, 470);
|
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
SDL_RenderCopy(renderer, controls_texture, &prev_sprite, &prev_btn);
|
SDL_RenderCopy(renderer, controls_texture, &prev_sprite, &prev_btn);
|
||||||
SDL_RenderCopy(renderer, controls_texture, &rewind_sprite, &rewind_btn);
|
SDL_RenderCopy(renderer, controls_texture, &rewind_sprite, &rewind_btn);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user