feat: add -auto-transmit flag to start transmitting on connect

When -auto-transmit is passed, barnard automatically keys up the
microphone as soon as the connection sync completes. Useful for
testing, bots, and unattended operation.

Usage:
  barnard -auto-transmit -server=mumble.example.com -username=test_bot
This commit is contained in:
Brandon McGinty (deepseek)
2026-08-08 22:52:27 -04:00
committed by Brandon McGinty
parent 3ca57a847c
commit b861193306
3 changed files with 17 additions and 2 deletions
+3 -2
View File
@@ -28,8 +28,9 @@ type Barnard struct {
TLSConfig tls.Config
Stream *gumbleopenal.Stream
Tx bool
Connected bool
Tx bool
AutoTransmit bool // auto-start transmission on connect
Connected bool
Ui *uiterm.Ui
UiOutput uiterm.Textview