From 1be49c0dd26526328c5b527b94fd59bad70fb8ed Mon Sep 17 00:00:00 2001 From: Sense T Date: Mon, 3 Oct 2022 00:15:43 +0000 Subject: [PATCH] 1 --- servers/qemuserver/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/qemuserver/server.go b/servers/qemuserver/server.go index d7608d2..d977179 100644 --- a/servers/qemuserver/server.go +++ b/servers/qemuserver/server.go @@ -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) }