diff options
| author | fiestorra <fiestorra@users.noreply.github.com> | 2026-11-26 00:15:47 +0100 |
|---|---|---|
| committer | fiestorra <fiestorra@users.noreply.github.com> | 2026-11-30 14:54:46 +0100 |
| commit | cb89a384d2a5ace746dcadbacb05ce6c7a18be5f (patch) | |
| tree | 00db5d648d1e396a6bdeb9142739615eb97d1f8c /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 20fe0c754679dae766fce379f9bb36da26ee478b (diff) | |
tools: skip Ogg Opus outputs that already exist, so a stopped audio export resumes
awc_opus.py repacked every bank on every run, so a stopped assets run redid
the whole Ogg Opus step: on one machine 664,446 .ogg files were already
written and the restart began at bank 0. The stage marks the step done only
after it finishes, so there was no per-bank resume.
--skip-existing leaves an output that exists alone before packing a music
channel or writing a stream's .ogg/.wav, and make_game.py passes it in the
audio step. The staged writer publishes atomically, so an existing file is
always complete.
Measured on a 1 MB bank with 29 outputs: first export 0.8 s, second with the
flag 0.23 s and 0 files rewritten, while the same export without the flag
does rewrite them. tests/test_awc_opus.py covers that with the control.
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions