qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device


From: Geoffrey McRae
Subject: Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device
Date: Mon, 22 Jun 2020 19:27:37 +1000
User-agent: Roundcube Webmail/1.3.8


On 2020-06-22 19:05, Gerd Hoffmann wrote:
On Sun, Jun 21, 2020 at 02:06:25PM +1000, Geoffrey McRae wrote:

> Can you stop the stream without closing the connection?

Not as far as I can tell, it seems the JACK API doesn't allow for this in a
way that is useful to us.

What happens if you don't feed data to jack?  The cracking you hear on
reboots etc. sounds like jack might reuses the buffers in that case.

So, maybe you can stop sending data to jack when all buffers are already
filled with silence?

Jack hands us a buffer we have to set, it's uninitialized as it's a ring buffer, if we do not zero it then we get repeating samples like your sound device has hung.


take care,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]