sequencer play fix.

This commit is contained in:
Johannes Findeisen 2026-11-06 22:00:35 +01:00
commit d6ded83beb
16 changed files with 372 additions and 16 deletions

View file

@ -239,3 +239,18 @@ wait for asynchronous fade acknowledgement. `test_quality` in the unit suite
checks exact source envelopes/timing and variable blocks, including tempo
snapshot changes. See [AUDIO_QUALITY.md](../../docs/AUDIO_QUALITY.md) for commands,
latency limitations and the pending listening checklist.
`playback-example` renders the bundled four-bar song offline and checks finite,
bounded stereo audio in every bar. `test_playback` exercises real window events
for Play/Stop/Space and verifies stereo audio with a private JACK software probe
while saved MIDI devices are absent. Run from the repository root:
```sh
cmake --build build --target test_playback
xvfb-run -a ./build/test_playback
```
It requires an existing JACK/PipeWire server, changes no user preferences and
connects no physical outputs. Enable `XTC_ENABLE_LIVE_TESTS` to include
`playback` in CTest. The fake-backend `gui-midi-workflows` test also checks absent
input/output/both, returning devices and genuine backend failures.