wireplumber/modules
Peter Hutterer f4546a18e8 m-reserve-device: replace the hash table key on new insert
We're using the WpReserveDevice's name as key in the hash table, so we
must update the key as well when we replace an item in the hashtable -
the old device (and its name) will be released.

The side-effect of this is that the *third* device with an identical
name will no longer replace the previous device. This results in the
following sequence:

- dev1 added: name Audio0
  - dev1 requests name owner Audio0
- dev2 added: name Audio0
  - replace dev1 in the hashtable
     - dev1 emits "release" signal
     - dev1 unowns the Audio0 name
  - dev2 requests name owner Audio0
- dev3 added: name Audio0
  - adds to the hashtable because the existing key is now undefined
  - dev3 requests name owner Audio0
     - error, you cannot request ownership for the same name twice

Fixes #93
2021-11-18 12:00:09 +00:00
..
module-default-nodes m-default-nodes: lift restrictions on media.class for audio nodes 2021-10-05 17:28:42 +03:00
module-lua-scripting wp: support loading optional modules 2021-10-14 06:27:53 +00:00
module-portal-permissionstore m-portal-permissionstore: try to reconnect on idle if DBus connection is closed 2021-09-24 09:31:29 -04:00
module-reserve-device m-reserve-device: replace the hash table key on new insert 2021-11-18 12:00:09 +00:00
meson.build m-si-audio-adapter: remove unused audio utilities 2021-10-20 07:41:21 +00:00
module-default-nodes-api.c m-default-nodes: lift restrictions on media.class for audio nodes 2021-10-05 17:28:42 +03:00
module-default-nodes.c m-default-nodes: safeguard timeout callback with g_cclosure_new_object 2021-10-05 17:29:05 +03:00
module-default-profile.c state: remove support for groups and propagate save errors 2021-06-04 18:36:19 +03:00
module-device-activation.c m-device-activation: don't set device routes 2021-06-03 16:32:12 +03:00
module-file-monitor-api.c file-monitor-api: allow watching files too, not just directories 2021-10-19 17:16:37 +03:00
module-logind.c modules: implement logind module and integrate with bluez monitor 2021-09-27 18:30:32 +03:00
module-lua-scripting.c wp: make the config file lookup methods more generic 2021-08-19 10:06:37 +03:00
module-metadata.c lib: introduce WpComponentLoader and remove WpModule 2021-02-03 17:16:51 +02:00
module-mixer-api.c build: fix volatile compatible-pointer-types warnings 2021-08-18 09:17:05 -04:00
module-route-settings-api.c implement route-settings metadata and notification volume 2021-10-05 15:47:46 +00:00
module-si-audio-adapter.c m-si-audio-adapter: add no-format configuration property 2021-10-21 13:04:33 -04:00
module-si-audio-endpoint.c m-si-audio-endpoint: use an internal audio adapter session item 2021-10-21 14:03:10 -04:00
module-si-node.c policy: refactor/improve policy-node & session items to fix linking to monitors 2021-10-08 00:26:41 +03:00
module-si-standard-link.c si-standard-link: fix crash after returning a link error 2021-10-16 09:51:00 +03:00