diff --git a/client.go b/client.go index 04ff13a..89f6458 100644 --- a/client.go +++ b/client.go @@ -59,6 +59,7 @@ func (b *Barnard) connect(reconnect bool) bool { // Start the tone generator goroutine. b.toneTestStop = make(chan struct{}) go StartToneGenerator(b.Client, b.toneTestStop) + b.Tx = true // Attach the audio file saver. saver, err := NewAudioFileSaver(b.ToneTestOutput)