feat(desktop): replace audio stub with cpal backend and volume slider

- CpalAudioSink writes to SPSC ring buffer, cpal callback reads
- Graceful fallback to silent operation on audio device errors
- Volume slider (0-100%) in header bar with speaker icon
- Ring buffer cleared on ROM load and reset
This commit is contained in:
2026-03-13 16:21:25 +03:00
parent bddc144c27
commit e113c53fb7
3 changed files with 793 additions and 21 deletions

View File

@@ -7,3 +7,4 @@ edition = "2024"
nesemu = { path = "../.." }
gtk4 = "0.8"
cairo-rs = "0.19"
cpal = "0.15"