mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
alsa-monitor: Lower our device reservation priority
For now, let's lower our priority in device reservation below that of PulseAudio (which currently uses a priority of 0), so that it takes priority while contending for the same device.
This commit is contained in:
parent
4be4a0b250
commit
2acfa0ee10
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ static struct device *alsa_create_device(struct impl *impl, uint32_t id,
|
|||
reserve = pw_properties_get(device->props, "api.dbus.ReserveDevice1");
|
||||
|
||||
device->reserve = rd_device_new(impl->conn, reserve,
|
||||
"PipeWire", 10,
|
||||
"PipeWire", -10,
|
||||
&reserve_callbacks, device);
|
||||
|
||||
if (device->reserve == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue