diff --git a/device/alsa/alsa.go b/device/alsa/alsa.go index 62df0d5a..ee3cd353 100644 --- a/device/alsa/alsa.go +++ b/device/alsa/alsa.go @@ -431,7 +431,7 @@ func (d *ALSA) Read(p []byte) (int, error) { } // Read from pool buffer. - d.l.Log(logger.Debug, pkg+"getting next chunk ready") + d.l.Log(logger.Debug, pkg+"reading from buffer") n, err := d.buf.Read(p) if err != nil { switch err { @@ -445,6 +445,7 @@ func (d *ALSA) Read(p []byte) (int, error) { return 0, nil } } + d.l.Log(logger.Debug, fmt.Sprintf("%v read %v bytes", pkg, n)) chunk.Close() return n, nil }