summaryrefslogtreecommitdiff
path: root/src/app/main.cc
AgeCommit message (Collapse)Author
10 hoursfeat(audio): add --dump-wav-start and --dump-wav-duration optionsskal
Adds CLI options to control WAV dump time range: - --dump-wav-start TIME: Start dumping at specified time (seeks first) - --dump-wav-duration TIME: Limit dump duration Enables efficient rendering of specific segments without dumping entire demo. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 hoursfix(audio): eliminate startup delay with automatic buffer pre-fillskal
Added audio_get_required_prefill_time() to query ring buffer lookahead (400ms) and audio_is_prefilled() to check buffer state. audio_start() now warns if buffer under-filled. Replaced hardcoded 100ms pre-fill with automatic target-based pre-fill in main.cc and test_demo.cc. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
12 hoursfix(cli): enable WAV dump without DEMO_HEADLESS requirementskal
Split conditional compilation so --dump-wav works in normal builds. Previously required cmake -DDEMO_HEADLESS=ON, now only needs !STRIP_ALL. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
12 hoursfix(cli): change --dump_wav to --dump-wav and add error handlingskal
- Update CLI parser to use --dump-wav (consistent with other options) - Add error message and exit for unrecognized options - Update documentation: HEADLESS_MODE.md, COMPLETED.md, FINAL_STRIP_REPORT.md Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 hoursstyle: Apply clang-format to codebaseskal
3 daysRefactor: Reorganize workspaces and remove assets/ directoryskal
Workspace structure now: - workspaces/{main,test}/obj/ (3D models) - workspaces/{main,test}/shaders/ (WGSL shaders) - workspaces/{main,test}/music/ (audio samples) Changes: - Moved workspaces/*/assets/music/ → workspaces/*/music/ - Updated assets.txt paths (assets/music/ → music/) - Moved test_demo.{seq,track} to tools/ - Moved assets/originals/ → tools/originals/ - Removed assets/common/ (legacy, duplicated in workspaces) - Removed assets/final/ (legacy, superseded by workspaces) - Updated hot-reload paths in main.cc - Updated CMake references for test_demo and validation - Updated gen_spectrograms.sh paths handoff(Claude): Workspace reorganization complete
3 daysRefactor: Move application entry points to src/app/skal
Moved main.cc, stub_main.cc, and test_demo.cc from src/ to src/app/ for better organization. Updated cmake/DemoExecutables.cmake paths. handoff(Claude): App files reorganized into src/app/ directory