1
This commit is contained in:
parent
708732a37b
commit
1be49c0dd2
@ -145,7 +145,7 @@ func (s *Server) Run() error {
|
||||
logrus.Debug("start reading PCM")
|
||||
defer close(s.pcm)
|
||||
for {
|
||||
b := make([]byte, 2048) // to be configured
|
||||
b := make([]byte, s.options.Audio.BufferSize) // to be configured
|
||||
if _, err := f.Read(b[:]); err != nil {
|
||||
logrus.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user