gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.66k stars 257 forks source link

[client] audio/pw: request real-time priority #961

Closed spencercw closed 2 years ago

spencercw commented 2 years ago

This is as per the PipeWire ALSA plugin [1]. The existing PW_STREAM_FLAG_RT_PROCESS flag is misleading and doesn't really have anything to do with real-time priority; it just tells PipeWire to pull data from the application synchronously from its main processing thread. More detail at [2].

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/f5d47c079e4ed23d0aa2d2f2f4ce19ee720bee1b/pipewire-alsa/alsa-plugins/pcm_pipewire.c [2] https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2024