AWC: Add decode diagnostics, 512KB superblock stream splitting, and waveform audio player #10
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/rpatty-dev--PercyStar!10
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/10/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@GamingChelsea on GitHub · 2026-11-21 12:35 UTC · original
GamingChelsea:feat/awc-audio-player→main· +1614 −55 · 3 files · 5 commits · closed without mergingSummary
Improves
.awcaudio decoding, error visibility, memory usage, and playback UX in the Explorer preview pane.AWC Decoder (
src/awc.rs)hdr_sz-aligned chunk table fallback: Supports ADAT headers where the 8-byte chunk descriptors are aligned fromhdr_szbackwards (e.g.flags=0xFF25,sound_0001_5st.awc) instead of starting at16 + sc * 4.0x80000superblock directories (0xFFFFFFFF+ block count per sub-stream) and splits multi-stream.awcfiles (e.g._4st) into separate playable streams instead of concatenating interleaved blocks.sc <= 65536) and clamps0x55chunk sizes to available payload length when RPF entries are capped at 32 MB..wavfiles to disk.Waveform Audio Player (
src/audio_player.rs,src/main.rs)ScrollArea::show_rowsso even banks with 5,000+ streams render smoothly, showing duration, sample rate, channels, and a peak loudness bar (Peak %with tooltip).|<,-5s,Play/Pause,Stop,+5s,>|, volume slider), interactive 200-bin peak/RMS waveform seek bar, and live dBFS level meter.waveOutplayback (Windows): Feeds 4 × ~200 ms buffers via a dedicated feeder thread to prevent audio dropouts on long tracks.[Made with AI]
@rpatty-dev on GitHub · 2026-11-21 13:11 UTC · original
Huge thanks @GamingChelsea for the AWC decode diagnostics, 512 KB superblock stream splitting, and waveform audio player! Integrated into main for v1.3.7 with full credit in README & release notes, plus a few optimizations: fixed seek start_frame & decode_gen races, smooth drag scrubbing without re-opening waveOut per frame, zero-copy little-endian ring buffer fills, stream filter, Loop/Auto-Next toggles, WAV export, Space/Left/Right shortcuts, and unified superblock expansion across both decode paths.
Pull request closed