Persist microphone mute and volume settings

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-09 14:37:06 -04:00
committed by Brandon McGinty
parent aa38c99aab
commit 4497d41077
6 changed files with 28 additions and 6 deletions
+1
View File
@@ -80,6 +80,7 @@ func (b *Barnard) connect(reconnect bool) bool {
return false
}
b.Stream = stream
b.Stream.SetMicVolume(b.UserConfig.GetMicVolume(), false)
b.Stream.AttachStream(b.Client)
b.Stream.SetNoiseProcessor(b.NoiseSuppressor)
b.Stream.SetErrorFunc(func(err error) {