re-merge from upstream

This commit is contained in:
stryan 2021-01-12 11:41:48 -05:00
commit b1132114c9

View File

@ -174,6 +174,7 @@ func discordReceivePCM(v *discordgo.VoiceConnection, die chan bool) {
log.Println("Opus size error") log.Println("Opus size error")
continue continue
} }
discordMutex.Lock() discordMutex.Lock()
select { select {
case fromDiscordMap[p.SSRC].pcm <- p.PCM[0:480]: case fromDiscordMap[p.SSRC].pcm <- p.PCM[0:480]: