qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

PipeWire in AudioVM

Open DemiMarie opened this issue 2 years ago • 6 comments

pacat-simple-vchan uses PulseAudio, which introduces extra buffering. This buffering is not visible to the PipeWire agent, so the agent cannot report latency appropriately. The result is that audio/video sync is wrong.

A much better solution is to use PipeWire directly (which adds zero latency) and increase the vchan size to compensate if necessary.

DemiMarie avatar Feb 16 '24 23:02 DemiMarie

Something like pw-cat? I'm down, might help with this once I'm done making my first repo. (it's a tool for qubes!)

IOZZYS avatar Feb 19 '24 01:02 IOZZYS

pw-cat-vchan?

DemiMarie avatar Feb 19 '24 01:02 DemiMarie

(which adds zero latency)

citation needed

marmarek avatar Feb 19 '24 01:02 marmarek

Anyway, at some point some latency reporting might be useful. But it's very low priority thing.

marmarek avatar Feb 19 '24 01:02 marmarek

pw-cat-vchan?

Don't think that exists yet, that's for us to bolt on.

IOZZYS avatar Feb 19 '24 04:02 IOZZYS

(which adds zero latency)

citation needed

I should have wrote that it adds no buffering.

DemiMarie avatar Feb 19 '24 05:02 DemiMarie