mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
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.
25 KiB
25 KiB