Restore ability to transmit in stereo.
This commit is contained in:
1 parent
c1722c2491
commit
abf6729ce9
6 files changed
+55
-27
No files matched your search
@@ -108,7 +108,7 @@ func (b *Barnard) connect(reconnect bool) bool {
|
||||
}
|
||||
})
|
||||
|
||||
// Initialize stereo encoder for file playback, reusing the one built for
|
||||
// Initialize stereo encoder for two-channel capture and file playback, reusing the one built for
|
||||
// the previous connection rather than allocating another.
|
||||
if b.stereoEncoder == nil {
|
||||
b.stereoEncoder = opus.NewStereoEncoder()
|
||||
|
||||
Reference in new issue
Block a user