feat: log timing for each spoken request
Merged
ST
23d ago+166+166+012345678901234567890123456789-19-19-01234567890123456789
There's currently no way to see how long speech takes from the daemon - it only logs startup and errors, so checking latency on a slower model meant benchmarking by hand.
The daemon now logs one line per request it plays:
[stackvox] spoke 84 chars: first audio after 1.2s (0.0s queued), finished after 6.4s, 5.1s of audio
Times count from when the daemon accepted the request, so time spent queued behind another request is included. The text itself never goes in the log.
To get there, a blocking speak() now returns a small Playback (when the first chunk reached the device and how much audio played) rather than None. Non-blocking still returns None.
Checked against a real daemon as well as the tests.