Open tone-test output before transmission

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-09 14:41:01 -04:00
committed by Brandon McGinty
parent d64e5125dd
commit e564bb8583
3 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ Priority 1: transport, lifecycle, and correctness
closure: signal stop, wait for run to finish/close stdin and Wait ffmpeg,
then return its result. Do not close stdin concurrently from Stop.
14. Tone-test startup leaks transmission on output-file error
[x] 14. Tone-test startup leaks transmission on output-file error
File: client.go
connect starts StartToneGenerator and sets Tx before NewAudioFileSaver. If
output file creation fails, the tone goroutine continues. Create the saver