mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
jack: encode monitor uuid with extra bit
So that we can make a difference between monitor and sink uuid. See #1945
This commit is contained in:
parent
08b18b9da4
commit
1f4d3b0a1b
2 changed files with 12 additions and 7 deletions
|
|
@ -54,7 +54,7 @@ jack_uuid_t jack_port_uuid_generate (uint32_t port_id)
|
|||
SPA_EXPORT
|
||||
uint32_t jack_uuid_to_index (jack_uuid_t id)
|
||||
{
|
||||
return (id & 0xffff) - 1;
|
||||
return (id & 0xffffffff) - 1;
|
||||
}
|
||||
|
||||
SPA_EXPORT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue