暂停,需要解决一些问题

This commit is contained in:
Sense T
2022-09-30 05:46:58 +00:00
parent dc9b5ce0b1
commit c22c399f40
4 changed files with 10 additions and 2 deletions

View File

@@ -130,6 +130,7 @@ func (s *Server) Run() error {
logrus.Fatal(err)
}
logrus.Debug("start reading PCM")
defer close(s.pcm)
for {
b := make([]byte, 2048) // to be configured