• src/doors/syncscumm/test/test_termgfx_termio.c test_termgfx_termio_aud

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, July 19, 2026 18:26:49
    https://gitlab.synchro.net/main/sbbs/-/commit/5d0829a7e6b17d661df4396f
    Added Files:
    src/doors/syncscumm/test/test_termgfx_termio.c test_termgfx_termio_audio.c test_termgfx_termio_audio_backlog.c test_termgfx_termio_audio_ini_headroom.c test_termgfx_termio_audio_ini_off.c test_termgfx_termio_audio_ini_tune.c test_termgfx_termio_audio_static.c test_termgfx_termio_audio_tone.c test_termgfx_termio_audio_underrun.c test_termgfx_termio_bottom_dirty.c test_termgfx_termio_canvas.c test_termgfx_termio_datadir.c test_termgfx_termio_gfxmax.c test_termgfx_termio_input.c test_termgfx_termio_input_evdev.c test_termgfx_termio_mouse.c test_termgfx_termio_nogfx.c test_termgfx_termio_present_pending.c test_termgfx_termio_sixelmax_override.c test_termgfx_termio_xterm_ceiling.c unit_termgfx_termio.sh
    Removed Files:
    src/doors/syncscumm/test/test_sst_input.c test_sst_mouse.c
    Log Message:
    syncscumm: migrate sst_io unit tests to termgfx_termio

    The unit tests still compiled and linked against door/sst_io.c, which
    an earlier commit moved into the shared termgfx_termio.c. Rename the
    test sources/driver to match (test_sst_io*.c/test_sst_input*.c/ test_sst_mouse.c/test_sst_datadir.c -> test_termgfx_termio_*.c,
    unit_sst_io.sh -> unit_termgfx_termio.sh), repoint every cc line at termgfx/termgfx_termio.c, and rename sst_io_*/SST_KEY_*/SST_MOD_*/ SST_EV_*/sst_input_event_t references to their termgfx_termio_*/
    TERMGFX_* equivalents, matching what Task 3 actually named things (sst_select_datadir() and the SST_TEST gate kept their old names, so
    those stay).

    Several macros door/sst_io.h used to declare publicly (SST_FB_W/H, SST_AUDIO_RATE, SST_CHUNK_MS, SST_PREBUFFER_CHUNKS) are no longer
    visible from termgfx_termio.h: the framebuffer size moved to the
    public TERMGFX_TERMIO_FB_W/H, and the audio tuning constants became
    file-static inside termgfx_termio.c. Repointed the tests at the former
    and gave the audio tests their own local copies of the latter (same
    values) so they keep compiling without guessing a literal.

    Assertions and test logic are unchanged; all 20 test binaries build
    and pass via test/unit_termgfx_termio.sh, and test/unit_sst_quant.sh (sst_quant.c was not moved) still passes untouched.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net