Files
LookingGlass/client/audiodevs/PipeWire
Geoffrey McRae 6f6816b99f [client] audio: keep PipeWire callbacks realtime safe
Avoid querying playback timing on every graph cycle. Refresh backend
latency only when audio diagnostics request it, and defer callback
errors for reporting from non-realtime contexts.

Move microphone delivery to a bounded SPSC queue drained by a sender
thread. This keeps PureSpice locking and socket writes out of the
PipeWire capture callback while bounding overload behavior.

Validate and recycle capture buffers before enqueueing their contents.
These changes improve deadline margin when using small period sizes.
2026-07-28 23:39:55 +10:00
..