Synchronize audio encoder selection

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-10 05:03:45 -04:00
committed by Brandon McGinty
parent d399650198
commit 7785f0a5b5
3 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ func (b *Barnard) connect(reconnect bool) bool {
})
// Initialize stereo encoder for file playback
b.Client.AudioEncoderStereo = opus.NewStereoEncoder()
b.Client.SetStereoEncoder(opus.NewStereoEncoder())
// Initialize file player
b.FileStreamMutex.Lock()